Index: lib/http.c
===================================================================
RCS file: /repository/curl/lib/http.c,v
retrieving revision 1.150
diff -u -r1.150 http.c
--- lib/http.c	11 Aug 2003 23:15:41 -0000	1.150
+++ lib/http.c	12 Aug 2003 07:23:39 -0000
@@ -731,7 +731,7 @@
   char *request;
 
   if(!data->state.authstage) {
-    if(conn->bits.httpproxy)
+    if(conn->bits.httpproxy && conn->bits.proxy_user_passwd)
       Curl_http_auth_stage(data, 407);
     else
       Curl_http_auth_stage(data, 401);
