]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
if 0'ed out a code section that uses __FUNCTION__ etc, used for debugging
authorDaniel Stenberg <daniel@haxx.se>
Tue, 30 Mar 2004 08:21:09 +0000 (08:21 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 30 Mar 2004 08:21:09 +0000 (08:21 +0000)
the new "fail with auth" code

lib/http.c

index 7358f7aebed0dd19af3cb3860b1b07e84348cf8c..a7961cba5bb3dde9539c88211e46b8c0d7fadd4f 100644 (file)
@@ -501,9 +501,11 @@ int Curl_http_should_fail(struct connectdata *conn)
   ** the client needs to reauthenticate.  Once that info is
   ** available, use it here.
   */
+#if 0 /* set to 1 when debugging this functionality */
   infof(data,"%s: authstage = %d\n",__FUNCTION__,data->state.authstage);
   infof(data,"%s: httpcode = %d\n",__FUNCTION__,k->httpcode);
   infof(data,"%s: authdone = %d\n",__FUNCTION__,data->state.authdone);
+#endif
 
   if (data->state.authstage &&
       (data->state.authstage == k->httpcode))