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 /rpa.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 'rpa.c')
-rw-r--r-- | rpa.c | 36 |
1 files changed, 19 insertions, 17 deletions
@@ -183,10 +183,10 @@ int POP3_auth_rpa (unsigned char *userid, unsigned char *passphrase, int socket) bufp += Csl; if (outlevel >= O_DEBUG) { - report(stdout, 0, _("Service challenge (l=%d):"),Csl); + report(stdout, 0, _("Service challenge (l=%d):\n"),Csl); for (i=0; i<Csl; i++) report_build(stdout, "%02X ",Cs[i]); - report_complete(stdout, 0, ""); + report_complete(stdout, 0, "\n"); } memcpy(Ts, bufp, Tsl); Ts[Tsl] = 0; @@ -253,10 +253,10 @@ int POP3_auth_rpa (unsigned char *userid, unsigned char *passphrase, int socket) aulin = *(bufp++); if (outlevel >= O_DEBUG) { - report(stdout, 0, _("User authentication (l=%d):"),aulin); + report(stdout, 0, _("User authentication (l=%d):\n"),aulin); for (i=0; i<aulin; i++) report_build(stdout, "%02X ",bufp[i]); - report_complete(stdout, 0, ""); + report_complete(stdout, 0, "\n"); } if (aulin == Aul) memcpy(Au, bufp, Aul); bufp += aulin; @@ -287,7 +287,8 @@ int POP3_auth_rpa (unsigned char *userid, unsigned char *passphrase, int socket) } if (Aul != aulin) { - report(stderr, 0, _("RPA User Authentication length error: %d\n"),aulin); + report(stderr, 0, + _("RPA User Authentication length error: %d\n"),aulin); return(PS_RPA); } if (Kusl != kuslin) @@ -303,10 +304,10 @@ int POP3_auth_rpa (unsigned char *userid, unsigned char *passphrase, int socket) } if (outlevel >= O_DEBUG) { - report(stdout, 0, _("Session key established:")); + report(stdout, 0, _("Session key established:\n")); for (i=0; i<Kusl; i++) report_build(stdout, "%02X ",Kus[i]); - report_complete(stdout, 0, ""); + report_complete(stdout, 0, "\n"); } /* Assemble Token 5 in buf and send (not in ver 2 though) */ @@ -455,7 +456,8 @@ int rxlen; save = *pptr; if (**pptr != HDR) { - if (outlevel > O_SILENT) report(stderr, 0, _("Hdr not 60\n")); + if (outlevel > O_SILENT) + report(stderr, 0, _("Hdr not 60\n")); return(0); } (*pptr)++; @@ -544,7 +546,7 @@ unsigned char *bufp; { report_build(stdout, "%02X ",bufp[i]); if (((i % 16)==15) || (i==(cnt-1))) - report_complete(stdout, 0, ""); + report_complete(stdout, 0, "\n"); } } return(cnt); @@ -582,7 +584,7 @@ int len; { report_build(stdout, "%02X ",bufp[i]); if (((i % 16)==15) || (i==(len-1))) - report_complete(stdout, 0, ""); + report_complete(stdout, 0, "\n"); } } outp = bufp + (((len-1)/3)*4); @@ -648,12 +650,12 @@ int conv; } if (outlevel >= O_DEBUG) { - report(stdout, 0, _("Unicode:")); + report(stdout, 0, _("Unicode:\n")); for (i=0; i<(*plen); i++) { report_build(stdout, "%02X ",buf[i]); if (((i % 16)==15) || (i==((*plen)-1))) - report_complete(stdout, 0, ""); + report_complete(stdout, 0, "\n"); } } } @@ -725,12 +727,12 @@ int len; if (outlevel >= O_DEBUG) { - report(stdout, 0, _("User challenge:")); + report(stdout, 0, _("User challenge:\n")); for (i=0; i<len; i++) { report_build(stdout, "%02X ",buf[i]); if (((i % 16)==15) || (i==(len-1))) - report_complete(stdout, 0, ""); + report_complete(stdout, 0, "\n"); } } } @@ -888,7 +890,7 @@ unsigned char* out; { report_build(stdout, "%02X ",in[i]); if (((i % 16)==15) || (i==(len-1))) - report_complete(stdout, 0, ""); + report_complete(stdout, 0, "\n"); } } MD5Init( &md5context ); @@ -896,12 +898,12 @@ unsigned char* out; MD5Final( out, &md5context ); if (outlevel >= O_DEBUG) { - report(stdout, 0, _("MD5 result is: ")); + report(stdout, 0, _("MD5 result is: \n")); for (i=0; i<16; i++) { report_build(stdout, "%02X ",out[i]); } - report_complete(stdout, 0, ""); + report_complete(stdout, 0, "\n"); } } #endif /* POP3_ENABLE && RPA_ENABLE */ |