diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-19 19:03:31 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-19 19:03:31 +0000 |
commit | 07513709eed70fe7fcf7361eaf17640ed74683bf (patch) | |
tree | ab22ca5334e422d176327e5162c7390dc3c369aa /driver.c | |
parent | 5bd3f8287149511024b95c01fb4212e60ec6fe13 (diff) | |
download | fetchmail-07513709eed70fe7fcf7361eaf17640ed74683bf.tar.gz fetchmail-07513709eed70fe7fcf7361eaf17640ed74683bf.tar.bz2 fetchmail-07513709eed70fe7fcf7361eaf17640ed74683bf.zip |
Avoid the socket-exhaustion bug.
svn path=/trunk/; revision=354
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -624,8 +624,8 @@ struct method *proto; /* protocol method table */ else { fprintf(stderr, "%d message%s", count, count > 1 ? "s" : ""); - if (new != -1) - fprintf(stderr, " (%d new)", new); + if (new != -1 && (count - new) > 0) + fprintf(stderr, " (%d seen)", count-new); fprintf(stderr, " from %s for %s@%s.\n", queryctl->remotename, |