mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Allow null MESSAGE.
This commit is contained in:
parent
cf67080e5e
commit
ac4f55a297
@ -1,3 +1,8 @@
|
|||||||
|
2005-07-06 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* http.c (gethttp): When freeing MESSAGE, take into account that
|
||||||
|
it can be NULL.
|
||||||
|
|
||||||
2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* cmpt.c (timegm): Handle years after 2099.
|
* cmpt.c (timegm): Handle years after 2099.
|
||||||
|
@ -1704,7 +1704,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
|
|||||||
hs->error = xstrdup (_("(no description)"));
|
hs->error = xstrdup (_("(no description)"));
|
||||||
else
|
else
|
||||||
hs->error = xstrdup (message);
|
hs->error = xstrdup (message);
|
||||||
xfree (message);
|
xfree_null (message);
|
||||||
|
|
||||||
type = resp_header_strdup (resp, "Content-Type");
|
type = resp_header_strdup (resp, "Content-Type");
|
||||||
if (type)
|
if (type)
|
||||||
|
Loading…
Reference in New Issue
Block a user