diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2010-09-27 13:28:33 +0200 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2010-09-27 13:28:38 +0200 |
commit | 1f99d1efc7229b36be8bf0cf49562ba53a75e581 (patch) | |
tree | c358b4df8d220c155d4ad9db084a027747f144b7 | |
parent | 77317bf3d6d96a3ca580ea38039ceed23026dcdf (diff) | |
download | fetchmail-1f99d1efc7229b36be8bf0cf49562ba53a75e581.tar.gz fetchmail-1f99d1efc7229b36be8bf0cf49562ba53a75e581.tar.bz2 fetchmail-1f99d1efc7229b36be8bf0cf49562ba53a75e581.zip |
Format UID lists properly (in debug mode).
-rw-r--r-- | uid.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -252,8 +252,8 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile) if (!idp) report_build(stdout, GT_(" <empty>")); else for (idp = ctl->oldsaved; idp; idp = idp->next) { - char *t = sdump(idp->id, strlen(idp->id)); - report_build(stdout, " %s", t); + char *t = sdump(idp->id, strlen(idp->id)-1); + report_build(stdout, " %s\n", t); free(t); } report_complete(stdout, "\n"); @@ -263,8 +263,8 @@ void initialize_saved_lists(struct query *hostlist, const char *idfile) if (!scratchlist) report_build(stdout, GT_(" <empty>")); else for (idp = scratchlist; idp; idp = idp->next) { - char *t = sdump(idp->id, strlen(idp->id)); - report_build(stdout, " %s", t); + char *t = sdump(idp->id, strlen(idp->id)-1); + report_build(stdout, " %s\n", t); free(t); } report_complete(stdout, "\n"); |