aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Chaffraix <julien.chaffraix@gmail.com>2011-02-20 21:10:45 -0800
committerJulien Chaffraix <julien.chaffraix@gmail.com>2011-02-20 21:11:53 -0800
commit0b8cdc06353d2f95d135cf3c4e64a2d47901e25f (patch)
treea15b459fd0f7e0838cba81edcb34b50a9088d9ed
parent9f8e960a1adf4919ee4c83ab18740ecc5700e31d (diff)
netrc: Removed _NETRC_DEBUG code.
This is not needed anymore as we have unit testing running on it.
-rw-r--r--lib/netrc.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/netrc.c b/lib/netrc.c
index 6b616c6ad..efb4076bb 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;
}