http: Split HTTP redirect and cookie clear logic into helper functions
authorKevin Cernekee <cernekee@gmail.com>
Sat, 27 Oct 2012 17:55:27 +0000 (10:55 -0700)
committerKevin Cernekee <cernekee@gmail.com>
Sat, 27 Oct 2012 20:10:00 +0000 (13:10 -0700)
commit3edcc28d19074f85b1e3aa117744a8a83536aba9
treed73702d4781202077bd1756906380533cd113e8d
parent5ff8489c3f8d94af1c55b441c813b005769382d2
http: Split HTTP redirect and cookie clear logic into helper functions

This makes openconnect_obtain_cookie() shorter, and easier to follow.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
http.c