From 9b699b1aebb24f4f42b0c8b89a497339fc1e1499 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 4 Nov 1996 22:56:43 +0000 Subject: Insert fseeks to prevent read-write lossage. svn path=/trunk/; revision=485 --- pop3.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pop3.c') diff --git a/pop3.c b/pop3.c index 4e5afe4b..cbe6ac0f 100644 --- a/pop3.c +++ b/pop3.c @@ -182,6 +182,7 @@ int *countp, *newp; if (!uid_in_list(&ctl->oldsaved, id)) (*newp)++; } + fseek(sockfp, 0L, SEEK_CUR); } } } @@ -217,6 +218,7 @@ int *sizes; else sizes[num - 1] = -1; } + fseek(sockfp, 0L, SEEK_CUR); return(0); } -- cgit v1.2.3