aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/imap.c b/imap.c
index fa1e9551..06312d02 100644
--- a/imap.c
+++ b/imap.c
@@ -42,7 +42,7 @@ char *argbuf;
int socket;
{
int ok;
- char buf [POPBUFSIZE];
+ char buf [POPBUFSIZE+1];
char *bufp;
int n;
@@ -134,7 +134,7 @@ int number;
int limit;
int *lenp;
{
- char buf [POPBUFSIZE];
+ char buf [POPBUFSIZE+1];
int num;
if (limit)
@@ -165,7 +165,7 @@ int socket;
struct hostrec *queryctl;
int number;
{
- char buf [POPBUFSIZE];
+ char buf [POPBUFSIZE+1];
if (SockGets(socket, buf,sizeof(buf)) < 0)
return(PS_SOCKET);