Fix some socket connection bugs.
authorTimothy B. Terriberry <tterribe@xiph.org>
Sun, 14 Oct 2012 18:31:08 +0000 (11:31 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Sun, 14 Oct 2012 18:31:08 +0000 (11:31 -0700)
commitbb8cb7a3de5aedafea43bfc8160e4099f4c48680
treec2ca75eb9738b3245ada95c1137de49b4350c909
parente88aa498b8e09d129583127aa40d6689d37a8f31
Fix some socket connection bugs.

The big one was that if the connect() call failed, it would loop
 forever (thanks to some code re-factoring, the loop was no longer
 advancing to the next address as originally designed).
src/http.c