aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-14 19:28:01 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-14 19:28:01 +0000
commit8fd5a218113c39471797e537541bfc6227a37885 (patch)
treeec2d194a628982444723a72c00507728e468e242 /pop3.c
parent6e5d497bfda191ecb53cb05cba282b3c70931f5b (diff)
downloadfetchmail-8fd5a218113c39471797e537541bfc6227a37885.tar.gz
fetchmail-8fd5a218113c39471797e537541bfc6227a37885.tar.bz2
fetchmail-8fd5a218113c39471797e537541bfc6227a37885.zip
Works with Microsoft Exchange.
svn path=/trunk/; revision=1337
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pop3.c b/pop3.c
index 5b8f53b9..6411c48d 100644
--- a/pop3.c
+++ b/pop3.c
@@ -430,6 +430,7 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp)
if ((ok = pop3_ok(sock, buf)) != 0)
return(ok);
+#ifdef __UNUSED__
/*
* Look for "nnn octets" -- there may or may not be preceding cruft.
* It's OK to punt and pass back -1 as a failure indication here, as
@@ -443,6 +444,9 @@ static int pop3_fetch(int sock, struct query *ctl, int number, int *lenp)
continue;
*lenp = atoi(++cp);
}
+#endif /* __UNUSED__ */
+
+ *lenp = -1; /* POP3 is delimited, we don't care about lengths */
return(0);
}