From 76f23acfa1cbe8e8133634710ec76efd8230cf62 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 30 Mar 2004 08:21:09 +0000 Subject: if 0'ed out a code section that uses __FUNCTION__ etc, used for debugging the new "fail with auth" code --- lib/http.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/http.c b/lib/http.c index 7358f7aeb..a7961cba5 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)) -- cgit v1.2.3