aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-12-21 11:15:00 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-12-21 11:17:30 +0000
commit727d798d680f29c8b3cb7d7f03d6b6a3eb4356da (patch)
tree9d78e21c02bbff63d7983e47d51a67c069aafd26
parent3917d73b367ac68e253bd2906c808db4d9e3e854 (diff)
pop3: Added debug information to assist with test864 failure
-rw-r--r--lib/pop3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pop3.c b/lib/pop3.c
index 782458ada..aad02b9df 100644
--- a/lib/pop3.c
+++ b/lib/pop3.c
@@ -653,6 +653,8 @@ static CURLcode pop3_state_servergreet_resp(struct connectdata *conn,
(void)instate; /* no use for this yet */
+ DEBUGF(infof(data, "Server Greeting: %s\n", line));
+
if(pop3code != '+') {
failf(data, "Got unexpected pop3-server response");
result = CURLE_FTP_WEIRD_SERVER_REPLY;
@@ -676,6 +678,7 @@ static CURLcode pop3_state_servergreet_resp(struct connectdata *conn,
/* Copy the timestamp */
memcpy(pop3c->apoptimestamp, line + i, timestamplen);
pop3c->apoptimestamp[timestamplen] = '\0';
+ DEBUGF(infof(data, "APOP Timestamp: %s\n", pop3c->apoptimestamp));
break;
}
}