1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Don't print write error message twice.

This commit is contained in:
hniksic 2005-07-04 15:53:17 -07:00
parent 6f6af2d913
commit 2ef83f89bd
2 changed files with 5 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-07-05 Hrvoje Niksic <hniksic@xemacs.org>
* http.c (gethttp): Don't print the request write error message
twice.
2005-07-04 Hrvoje Niksic <hniksic@xemacs.org> 2005-07-04 Hrvoje Niksic <hniksic@xemacs.org>
* openssl.c (openssl_errstr): Instead of always using a large * openssl.c (openssl_errstr): Instead of always using a large

View File

@ -1486,8 +1486,6 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
request_free (connreq); request_free (connreq);
if (write_error < 0) if (write_error < 0)
{ {
logprintf (LOG_VERBOSE, _("Failed writing to proxy: %s.\n"),
fd_errstr (sock));
CLOSE_INVALIDATE (sock); CLOSE_INVALIDATE (sock);
return WRITEFAILED; return WRITEFAILED;
} }
@ -1556,8 +1554,6 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
if (write_error < 0) if (write_error < 0)
{ {
logprintf (LOG_VERBOSE, _("Failed writing HTTP request: %s.\n"),
fd_errstr (sock));
CLOSE_INVALIDATE (sock); CLOSE_INVALIDATE (sock);
request_free (req); request_free (req);
return WRITEFAILED; return WRITEFAILED;