aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-19 16:31:33 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-19 16:31:33 +0000
commit5bd3f8287149511024b95c01fb4212e60ec6fe13 (patch)
tree8ec93923109e7115160a3ad820f5843fc958e0e1 /pop2.c
parent73562230401b2cd48301805f03aee052927fadd2 (diff)
downloadfetchmail-5bd3f8287149511024b95c01fb4212e60ec6fe13.tar.gz
fetchmail-5bd3f8287149511024b95c01fb4212e60ec6fe13.tar.bz2
fetchmail-5bd3f8287149511024b95c01fb4212e60ec6fe13.zip
Major improvements in --check processing. New-message count is now visible.
svn path=/trunk/; revision=353
Diffstat (limited to 'pop2.c')
-rw-r--r--pop2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pop2.c b/pop2.c
index 1e49a6ca..1d373778 100644
--- a/pop2.c
+++ b/pop2.c
@@ -63,11 +63,11 @@ char *buf;
queryctl->remotename, queryctl->password));
}
-static pop2_getrange(socket, queryctl, countp)
+static pop2_getrange(socket, queryctl, countp, newp)
/* get range of messages to be fetched */
int socket;
struct hostrec *queryctl;
-int *countp;
+int *countp, *newp;
{
/*
* We should have picked up a count of messages in the user's
@@ -88,6 +88,7 @@ int *countp;
}
*countp = pound_arg;
+ *newp = -1;
return(0);
}