aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-03-24 00:18:21 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-03-24 00:18:21 +0000
commitc753710356d36bb624bd975a8409a6d794c00dda (patch)
tree69d2cfa94a0e1e61ead44130bcbf25f586f6baed /pop2.c
parentd2d2a311c916b79faff67d00ba0cc5b9e3a0bdb8 (diff)
downloadfetchmail-c753710356d36bb624bd975a8409a6d794c00dda.tar.gz
fetchmail-c753710356d36bb624bd975a8409a6d794c00dda.tar.bz2
fetchmail-c753710356d36bb624bd975a8409a6d794c00dda.zip
Incorporated Henrik Storner's mimedecode patch.
svn path=/trunk/; revision=1719
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 ee0e7809..a17a4e22 100644
--- a/pop2.c
+++ b/pop2.c
@@ -59,7 +59,8 @@ int pop2_getauth(int sock, struct query *ctl, char *buf)
ctl->remotename, ctl->password));
}
-static int pop2_getrange(int sock, struct query *ctl, const char *folder, int*countp, int*newp)
+static int pop2_getrange(int sock, struct query *ctl, const char *folder,
+ int *countp, int *newp, int *bytes)
/* get range of messages to be fetched */
{
/* maybe the user wanted a non-default folder */
@@ -87,7 +88,7 @@ static int pop2_getrange(int sock, struct query *ctl, const char *folder, int*co
return(PS_ERROR);
*countp = pound_arg;
- *newp = -1;
+ *bytes = *newp = -1;
return(0);
}