]> sjero.net Git - wget/commitdiff
[svn] Don't print write error message twice.
authorhniksic <devnull@localhost>
Mon, 4 Jul 2005 22:53:17 +0000 (15:53 -0700)
committerhniksic <devnull@localhost>
Mon, 4 Jul 2005 22:53:17 +0000 (15:53 -0700)
src/ChangeLog
src/http.c

index 077d73c7ca05bd8c5d1a6b180419c5c3a5ade23c..fb93734f38ae81ace941f7e8ccc48c268ac94814 100644 (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>
 
        * openssl.c (openssl_errstr): Instead of always using a large
index 17dde3979ce9009b17186c50a18056ec77c5cedf..3428f8610b48eee75d9f700640f381dd3b612507 100644 (file)
@@ -1486,8 +1486,6 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
          request_free (connreq);
          if (write_error < 0)
            {
-             logprintf (LOG_VERBOSE, _("Failed writing to proxy: %s.\n"),
-                        fd_errstr (sock));
              CLOSE_INVALIDATE (sock);
              return WRITEFAILED;
            }
@@ -1556,8 +1554,6 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
 
   if (write_error < 0)
     {
-      logprintf (LOG_VERBOSE, _("Failed writing HTTP request: %s.\n"),
-                fd_errstr (sock));
       CLOSE_INVALIDATE (sock);
       request_free (req);
       return WRITEFAILED;