Fabrice Fontaine b9944242cf Improve upnp/genlib/net
Change ret_code from int to parse_status_t in match.
Set back return code of ReadResponseLineAndHeaders from parse_status_t
to int as this function can return UPNP_E_BAD_HTTPMSG. As a result, do
not cast the result of this function into parse_status_t in
http_OpenHttpGetProxy and http_OpenHttpGetEx.
Use switch with PARSE_OK in parsetools.c.
Add missing explicit casts of integer constants in uri.c and
httpreadwrite.c.
Use switch, int and sa_family_t with AF_INET in uri.c.
Print an error in http_Download if realloc failed.

(forward port of commit b116d10f3700ed462af117055ddcbe65e1729a0a)
2012-03-15 11:32:02 -03:00
..
2012-03-14 20:27:48 -03:00
2012-03-05 10:33:30 -03:00
2012-03-15 11:32:02 -03:00
2012-03-09 12:15:03 -03:00