]> granicus.if.org Git - curl/commitdiff
initiate variables properly to default to no auth for server and proxy
authorDaniel Stenberg <daniel@haxx.se>
Wed, 5 May 2004 13:00:03 +0000 (13:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 May 2004 13:00:03 +0000 (13:00 +0000)
lib/http.c

index b86f031d33555e8a9d17bc6992a171b1b059298b..5e663cb7d2975a41fa88eb04b59843348185b454 100644 (file)
@@ -207,8 +207,8 @@ static bool pickoneauth(struct auth *pick)
 CURLcode Curl_http_auth_act(struct connectdata *conn)
 {
   struct SessionHandle *data = conn->data;
-  bool pickhost;
-  bool pickproxy;
+  bool pickhost = FALSE;
+  bool pickproxy = FALSE;
   CURLcode code = CURLE_OK;
 
   if(data->state.authproblem)