From 3180b5104a12515299d085cc2672a762eecd8184 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 11 Jun 2004 19:43:52 +0000 Subject: Make sure we don't return uninitialized data from pop3_getpartialsizes, which can happen iff first > last. svn path=/trunk/; revision=3883 --- pop3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pop3.c') diff --git a/pop3.c b/pop3.c index 67f7ced1..ec8cbdf5 100644 --- a/pop3.c +++ b/pop3.c @@ -916,7 +916,7 @@ static int pop3_getrange(int sock, static int pop3_getpartialsizes(int sock, int first, int last, int *sizes) /* capture the size of message #first */ { - int ok, i; + int ok = 0, i; char buf [POPBUFSIZE+1]; unsigned int num, size; -- cgit v1.2.3