aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-03-30 08:21:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-03-30 08:21:09 +0000
commit76f23acfa1cbe8e8133634710ec76efd8230cf62 (patch)
tree19702db0661a0bba70cf1fa82d28a205097ca5c0
parent6950aeafccbdb493ebc862804a05647d97011387 (diff)
if 0'ed out a code section that uses __FUNCTION__ etc, used for debugging
the new "fail with auth" code
-rw-r--r--lib/http.c2
1 files changed, 2 insertions, 0 deletions
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))