1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

if 0'ed out a code section that uses __FUNCTION__ etc, used for debugging

the new "fail with auth" code
This commit is contained in:
Daniel Stenberg 2004-03-30 08:21:09 +00:00
parent 6950aeafcc
commit 76f23acfa1

View File

@ -501,9 +501,11 @@ int Curl_http_should_fail(struct connectdata *conn)
** the client needs to reauthenticate. Once that info is ** the client needs to reauthenticate. Once that info is
** available, use it here. ** 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: authstage = %d\n",__FUNCTION__,data->state.authstage);
infof(data,"%s: httpcode = %d\n",__FUNCTION__,k->httpcode); infof(data,"%s: httpcode = %d\n",__FUNCTION__,k->httpcode);
infof(data,"%s: authdone = %d\n",__FUNCTION__,data->state.authdone); infof(data,"%s: authdone = %d\n",__FUNCTION__,data->state.authdone);
#endif
if (data->state.authstage && if (data->state.authstage &&
(data->state.authstage == k->httpcode)) (data->state.authstage == k->httpcode))