From: Julien Chaffraix Date: Mon, 21 Feb 2011 05:10:45 +0000 (-0800) Subject: netrc: Removed _NETRC_DEBUG code. X-Git-Tag: curl-7_21_5~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b8cdc06353d2f95d135cf3c4e64a2d47901e25f;p=thirdparty%2Fcurl.git netrc: Removed _NETRC_DEBUG code. This is not needed anymore as we have unit testing running on it. --- diff --git a/lib/netrc.c b/lib/netrc.c index 6b616c6ad9..efb4076bb7 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -142,9 +142,6 @@ int Curl_parsenetrc(const char *host, if(Curl_raw_equal(host, tok)) { /* and yes, this is our host! */ state=HOSTVALID; -#ifdef _NETRC_DEBUG - fprintf(stderr, "HOST: %s\n", tok); -#endif retcode=0; /* we did find our host */ } else @@ -159,18 +156,12 @@ int Curl_parsenetrc(const char *host, } else { strncpy(login, tok, LOGINSIZE-1); -#ifdef _NETRC_DEBUG - fprintf(stderr, "LOGIN: %s\n", login); -#endif } state_login=0; } else if(state_password) { if(state_our_login || !specific_login) { strncpy(password, tok, PASSWORDSIZE-1); -#ifdef _NETRC_DEBUG - fprintf(stderr, "PASSWORD: %s\n", password); -#endif } state_password=0; }