From c753710356d36bb624bd975a8409a6d794c00dda Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 24 Mar 1998 00:18:21 +0000 Subject: Incorporated Henrik Storner's mimedecode patch. svn path=/trunk/; revision=1719 --- pop3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pop3.c') diff --git a/pop3.c b/pop3.c index 9502d104..f189e39d 100644 --- a/pop3.c +++ b/pop3.c @@ -353,7 +353,7 @@ pop3_slowuidl( int sock, struct query *ctl, int *countp, int *newp) static int pop3_getrange(int sock, struct query *ctl, const char *folder, - int *countp, int *newp) + int *countp, int *newp, int *bytes) /* get range of messages to be fetched */ { int ok; @@ -375,7 +375,7 @@ static int pop3_getrange(int sock, gen_send(sock, "STAT"); ok = pop3_ok(sock, buf); if (ok == 0) - sscanf(buf,"%d %*d", countp); + sscanf(buf,"%d %d", countp, bytes); else return(ok); @@ -445,7 +445,7 @@ static int pop3_getrange(int sock, } } - return(0); + return(PS_SUCCESS); } static int pop3_getsizes(int sock, int count, int *sizes) -- cgit v1.2.3