diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-02-01 22:27:17 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-02-01 22:27:17 +0000 |
commit | 191c6b97c84a4680eb04ff42a4d420eac0d8d8e8 (patch) | |
tree | e661ba8e2525b53b59e5b8cfd2318dd36ac345a8 /pop3.c | |
parent | 9a9467cafe1c27290eac02c0a6bb6baa480a5096 (diff) | |
download | fetchmail-191c6b97c84a4680eb04ff42a4d420eac0d8d8e8.tar.gz fetchmail-191c6b97c84a4680eb04ff42a4d420eac0d8d8e8.tar.bz2 fetchmail-191c6b97c84a4680eb04ff42a4d420eac0d8d8e8.zip |
Return of the dancing progress dots.
svn path=/trunk/; revision=2369
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -92,7 +92,7 @@ int pop3_ok (int sock, char *argbuf) else ok = PS_AUTHFAIL; if (*bufp) - report(stderr, 0, bufp); + report(stderr, 0, "%s\n", bufp); } else ok = PS_PROTOCOL; @@ -199,7 +199,8 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) for (start = greeting; *start != 0 && *start != '<'; start++) continue; if (*start == 0) { - report(stderr, 0, _("Required APOP timestamp not found in greeting")); + report(stderr, 0, + _("Required APOP timestamp not found in greeting\n")); return(PS_AUTHFAIL); } @@ -207,7 +208,8 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) for (end = start; *end != 0 && *end != '>'; end++) continue; if (*end == 0 || end == start + 1) { - report(stderr, 0, _("Timestamp syntax error in greeting")); + report(stderr, 0, + _("Timestamp syntax error in greeting\n")); return(PS_AUTHFAIL); } else @@ -229,7 +231,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) break; default: - report(stderr, 0, _("Undefined protocol request in POP3_auth")); + report(stderr, 0, _("Undefined protocol request in POP3_auth\n")); ok = PS_ERROR; } @@ -237,7 +239,7 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) { /* maybe we detected a lock-busy condition? */ if (ok == PS_LOCKBUSY) - report(stderr, 0, _("lock busy! Is another session active?")); + report(stderr, 0, _("lock busy! Is another session active?\n")); return(ok); } @@ -346,7 +348,7 @@ pop3_slowuidl( int sock, struct query *ctl, int *countp, int *newp) } } else { report(stderr, 0, - _("Messages inserted into list on server. Cannot handle this.")); + _("Messages inserted into list on server. Cannot handle this.\n")); return -1; } } @@ -419,7 +421,7 @@ static int pop3_getrange(int sock, { if (sscanf(buf, "%d", &last) == 0) { - report(stderr, 0, _("protocol error")); + report(stderr, 0, _("protocol error\n")); return(PS_ERROR); } *newp = (*countp - last); @@ -432,7 +434,7 @@ static int pop3_getrange(int sock, /* don't worry, yet! do it the slow way */ if((ok = pop3_slowuidl( sock, ctl, countp, newp))!=0) { - report(stderr, 0, _("protocol error while fetching UIDLs")); + report(stderr, 0, _("protocol error while fetching UIDLs\n")); return(PS_ERROR); } } |