aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
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);
}