aboutsummaryrefslogtreecommitdiffstats
path: root/etrn.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 /etrn.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 'etrn.c')
-rw-r--r--etrn.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/etrn.c b/etrn.c
index 7deb4312..69175149 100644
--- a/etrn.c
+++ b/etrn.c
@@ -28,8 +28,8 @@ static int etrn_ok (int sock, char *argbuf)
return(ok);
}
-static int etrn_getrange(int sock, struct query *ctl, char *id, int *countp,
- int *newp)
+static int etrn_getrange(int sock, struct query *ctl, char *id,
+ int *countp, int *newp, int *bytes)
/* send ETRN and interpret the response */
{
int ok, opts;
@@ -49,7 +49,8 @@ static int etrn_getrange(int sock, struct query *ctl, char *id, int *countp,
return(PS_PROTOCOL);
}
- *countp = *newp = -1; /* make sure we don't enter the fetch loop */
+ /* make sure we don't enter the fetch loop */
+ *bytes = *countp = *newp = -1;
/*
* By default, the hostlist has a single entry, the fetchmail host's