http: Fix assertion broken for IPv6 addresses.
authorTimothy B. Terriberry <tterribe@xiph.org>
Sat, 17 Jun 2017 19:16:59 +0000 (12:16 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Sat, 17 Jun 2017 19:16:59 +0000 (12:16 -0700)
commitcc89c685cb2f6e7519f28ff3380156de1839687b
treec2c81532fe516c92665ede55a0207459f4d9893d
parent1fbe0cd1b020e193b149724d696acaffa2ebfa58
http: Fix assertion broken for IPv6 addresses.

These two asserts used to be in separate branches, but the code was
 consolidated into a single branch by e63503349f3f.
However, the asserts were not updated at the same time.
With an IPv6 address, the sockaddr_in assert would always fail.
src/http.c