From: Daniel Stenberg Date: Tue, 30 Mar 2004 08:21:09 +0000 (+0000) Subject: if 0'ed out a code section that uses __FUNCTION__ etc, used for debugging X-Git-Tag: curl-7_11_2~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76f23acfa1cbe8e8133634710ec76efd8230cf62;p=thirdparty%2Fcurl.git if 0'ed out a code section that uses __FUNCTION__ etc, used for debugging the new "fail with auth" code --- diff --git a/lib/http.c b/lib/http.c index 7358f7aebe..a7961cba5b 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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))