File wget-basicauth.patch of Package wget.3159

Index: wget-1.14/src/http.c
===================================================================
--- wget-1.14.orig/src/http.c
+++ wget-1.14/src/http.c
@@ -1985,6 +1985,10 @@ gethttp (struct url *u, struct http_stat
                     exec_name, quote (relevant->host));
           return HOSTERR;
         }
+      else if (sock != -1)
+        {
+          sock = -1;
+        }
     }
 
   if (sock < 0)
openSUSE Build Service is sponsored by