From 191c6b97c84a4680eb04ff42a4d420eac0d8d8e8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 1 Feb 1999 22:27:17 +0000 Subject: Return of the dancing progress dots. svn path=/trunk/; revision=2369 --- rpa.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'rpa.c') diff --git a/rpa.c b/rpa.c index 1ecc2116..6559ceb9 100644 --- a/rpa.c +++ b/rpa.c @@ -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= O_DEBUG) { - report(stdout, 0, _("User authentication (l=%d):"),aulin); + report(stdout, 0, _("User authentication (l=%d):\n"),aulin); for (i=0; i= O_DEBUG) { - report(stdout, 0, _("Session key established:")); + report(stdout, 0, _("Session key established:\n")); for (i=0; i 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= 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 */ -- cgit v1.2.3