aboutsummaryrefslogtreecommitdiffstats
path: root/README
Commit message (Expand)AuthorAgeFilesLines
* Update and reformat.Matthias Andree2009-05-241-35/+53
* Add a pointer to INSTALL.Matthias Andree2005-09-251-0/+2
* Update links to fetchmail home page.Matthias Andree2005-04-271-2/+2
* Version bump.Eric S. Raymond2003-02-281-7/+2
* Note about the TODO.Eric S. Raymond2001-09-241-0/+3
* Authentication is orthogonal now.Eric S. Raymond2001-02-251-8/+8
* First cut at ODMR support.Eric S. Raymond2001-02-071-2/+3
* Ready to merge in Julian Haight's changes.Eric S. Raymond2000-06-071-1/+1
* BeOS support.Eric S. Raymond2000-04-081-6/+4
* Added a TODO list.Eric S. Raymond2000-02-121-1/+2
* The real 5.2.0.Eric S. Raymond1999-12-191-1/+1
* Added IRIX.Eric S. Raymond1999-09-301-1/+1
* Plotting is working pretty well.Eric S. Raymond1999-09-241-5/+6
* Feature update.Eric S. Raymond1999-06-131-5/+2
* Added socks library support.Eric S. Raymond1998-11-201-3/+4
* Added experimental SDPS support.Eric S. Raymond1998-08-031-3/+3
* Changed WWW hosts.Eric S. Raymond1998-05-141-1/+1
* Henrik Storner's patch to support mimedecode.Eric S. Raymond1998-03-201-0/+2
* Note OS/2 port.Eric S. Raymond1998-01-181-0/+3
* Doc fix.Eric S. Raymond1997-12-181-2/+2
* Note that GSSAPI is supported.Eric S. Raymond1997-12-151-2/+2
* Typo fix.Eric S. Raymond1997-11-291-1/+1
* Integrated RPA support.Eric S. Raymond1997-09-301-2/+3
* More portation changes.Eric S. Raymond1997-09-171-4/+7
* First round of changes for OPIE support.Eric S. Raymond1997-07-171-3/+6
* We run on AmigaOS.Eric S. Raymond1997-07-031-1/+1
* Reorganization for Web page structure.Eric S. Raymond1997-06-131-99/+10
* Add exim 501 response.Eric S. Raymond1997-06-021-6/+7
* Added blurbs on new features.Eric S. Raymond1997-05-281-1/+9
* Caseblind comparison of names, more explicitness about Kerberos.Eric S. Raymond1997-05-131-1/+1
* Added forcecr option.Eric S. Raymond1997-04-171-2/+2
* These features are in.Eric S. Raymond1997-04-011-1/+3
* Aded the `received' option.Eric S. Raymond1997-02-141-4/+6
* Added RFC1985 ETRN support.Eric S. Raymond1997-02-101-0/+2
* Add stripcr option.Eric S. Raymond1997-01-301-0/+3
* Break down features by major release.Eric S. Raymond1997-01-221-19/+22
* Remove obsolete caveat.Eric S. Raymond1997-01-221-4/+0
* General ESMTP support seems pretty good now.Eric S. Raymond1997-01-221-14/+16
* Support for EHLO and 8BITMIME extension.Eric S. Raymond1997-01-221-0/+2
* Update beta list number.Eric S. Raymond1997-01-211-1/+1
* RPOP support is back.Eric S. Raymond1997-01-201-1/+3
* Ready to ship to George Sipe.Eric S. Raymond1997-01-171-1/+1
* Feature clarification.Eric S. Raymond1997-01-161-4/+4
* Port info.Eric S. Raymond1997-01-101-4/+5
* Document new features.Eric S. Raymond1997-01-101-4/+21
* Mods to George Sipe's interface option.Eric S. Raymond1996-12-251-5/+8
* Ready to release.Eric S. Raymond1996-12-211-3/+4
* Add full IMAP4 capability.Eric S. Raymond1996-12-091-4/+5
* Version bump.Eric S. Raymond1996-12-091-1/+1
* Ready to ship.Eric S. Raymond1996-11-291-24/+10
pile with -DMAIN to build the demonstrator. #include <stdlib.h> #include "fetchmail.h" +#include "sdump.h" #ifndef MAIN #include "i18n.h" @@ -74,9 +75,10 @@ char *reply_hack( } #ifndef MAIN - - if (outlevel >= O_DEBUG) - - report_build(stdout, GT_("About to rewrite %.*s...\n"), - - (int)BEFORE_EOL(buf), buf); + if (outlevel >= O_DEBUG) { + report_build(stdout, GT_("About to rewrite %s...\n"), (cp = sdump(buf, BEFORE_EOL(buf)))); + xfree(cp); + } /* make room to hack the address; buf must be malloced */ for (cp = buf; *cp; cp++) @@ -211,9 +213,12 @@ char *reply_hack( } #ifndef MAIN - - if (outlevel >= O_DEBUG) - - report_complete(stdout, GT_("...rewritten version is %.*s.\n"), - - (int)BEFORE_EOL(buf), buf); + if (outlevel >= O_DEBUG) { + report_complete(stdout, GT_("...rewritten version is %s.\n"), + (cp = sdump(buf, BEFORE_EOL(buf)))); + xfree(cp) + } + #endif /* MAIN */ *length = strlen(buf); return(buf); diff --git a/uid.c b/uid.c index fdc6f5d..9a62ee2 100644 - --- a/uid.c +++ b/uid.c @@ -20,6 +20,7 @@ #include "fetchmail.h" #include "i18n.h" +#include "sdump.h" /* * Machinery for handling UID lists live here. This is mainly to support @@ -249,8 +250,11 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile) { report_build(stdout, GT_("Old UID list from %s:"), ctl->server.pollname); - - for (idp = ctl->oldsaved; idp; idp = idp->next) - - report_build(stdout, " %s", idp->id); + for (idp = ctl->oldsaved; idp; idp = idp->next) { + char *t = sdump(idp->id, strlen(idp->id)); + report_build(stdout, " %s", t); + free(t); + } if (!idp) report_build(stdout, GT_(" <empty>")); report_complete(stdout, "\n"); @@ -260,8 +264,11 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile) if (uidlcount) { report_build(stdout, GT_("Scratch list of UIDs:")); - - for (idp = scratchlist; idp; idp = idp->next) - - report_build(stdout, " %s", idp->id); + for (idp = scratchlist; idp; idp = idp->next) { + char *t = sdump(idp->id, strlen(idp->id)); + report_build(stdout, " %s", t); + free(t); + } if (!idp) report_build(stdout, GT_(" <empty>")); report_complete(stdout, "\n"); @@ -517,8 +524,11 @@ void uid_swap_lists(struct query *ctl) report_build(stdout, GT_("Merged UID list from %s:"), ctl->server.pollname); else report_build(stdout, GT_("New UID list from %s:"), ctl->server.pollname); - - for (idp = dofastuidl ? ctl->oldsaved : ctl->newsaved; idp; idp = idp->next) - - report_build(stdout, " %s = %d", idp->id, idp->val.status.mark); + for (idp = dofastuidl ? ctl->oldsaved : ctl->newsaved; idp; idp = idp->next) { + char *t = sdump(idp->id, strlen(idp->id)); + report_build(stdout, " %s = %d", t, idp->val.status.mark); + free(t); + } if (!idp) report_build(stdout, GT_(" <empty>")); report_complete(stdout, "\n"); @@ -567,8 +577,11 @@ void uid_discard_new_list(struct query *ctl) /* this is now a merged list! the mails which were seen in this * poll are marked here. */ report_build(stdout, GT_("Merged UID list from %s:"), ctl->server.pollname); - - for (idp = ctl->oldsaved; idp; idp = idp->next) - - report_build(stdout, " %s = %d", idp->id, idp->val.status.mark); + for (idp = ctl->oldsaved; idp; idp = idp->next) { + char *t = sdump(idp->id, strlen(idp->id)); + report_build(stdout, " %s = %d", t, idp->val.status.mark); + free(t); + } if (!idp) report_build(stdout, GT_(" <empty>")); report_complete(stdout, "\n"); -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAkviiHoACgkQvmGDOQUufZUfiQCeIl/RlnUEciNLxY3ykQSgFzDF /BMAoKMiJoD4cjGcaN/5CvdIgktKExYB =dC/g -----END PGP SIGNATURE-----