aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pop3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pop3.c b/pop3.c
index 7e40a7d7..9025b314 100644
--- a/pop3.c
+++ b/pop3.c
@@ -207,6 +207,9 @@ static int pop3_ok (int sock, char *argbuf)
else
ok = PS_PROTOCOL;
+#if POPBUFSIZE > MSGBUFSIZE
+#error "POPBUFSIZE must not be larger than MSGBUFSIZE"
+#endif
if (argbuf != NULL)
strcpy(argbuf,bufp);
}