diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-09-24 21:22:15 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-09-24 21:22:15 +0000 |
commit | 5c6efe96225a646c5ff1ae3db4de8e392baf0286 (patch) | |
tree | 09b2c30f9d6e853b070a7532c3adf2e089decd8a /pop2.c | |
parent | 890726f5e3730478ca1f5901d1582b18c3dedb4b (diff) | |
download | fetchmail-5c6efe96225a646c5ff1ae3db4de8e392baf0286.tar.gz fetchmail-5c6efe96225a646c5ff1ae3db4de8e392baf0286.tar.bz2 fetchmail-5c6efe96225a646c5ff1ae3db4de8e392baf0286.zip |
Quiet the program down a bit.
svn path=/trunk/; revision=126
Diffstat (limited to 'pop2.c')
-rw-r--r-- | pop2.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -131,9 +131,12 @@ struct hostrec *queryctl; /* tell 'em how many messages are waiting */ if (outlevel > O_SILENT && outlevel < O_VERBOSE) - fprintf(stderr,"%d messages in folder %s\n",number,queryctl->remotefolder); - else - ; + if (number == 0) + fprintf(stderr,"No mail from %s\n",number,queryctl->servername); + else + fprintf(stderr,"%d message%s from %s\n", + number, number > 1 ? "s" : "", queryctl->servername); + /* fall into a retrieve/acknowledge loop */ if (number > 0) { |