diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-12-17 20:53:10 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-12-17 20:53:10 +0000 |
commit | b85d71b67a2743272f46c85bf479b1051171193d (patch) | |
tree | f828606268e283fa4d36ec6fb91ffc5fb19d9402 /pop3.c | |
parent | f034d4af6612be9fc2b393855ec5ac95d548d5d8 (diff) | |
download | fetchmail-b85d71b67a2743272f46c85bf479b1051171193d.tar.gz fetchmail-b85d71b67a2743272f46c85bf479b1051171193d.tar.bz2 fetchmail-b85d71b67a2743272f46c85bf479b1051171193d.zip |
SockGets is gone.
svn path=/trunk/; revision=650
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -30,7 +30,7 @@ int pop3_ok (FILE *sockfp, char *argbuf) char buf [POPBUFSIZE+1]; char *bufp; - if (SockGets(buf, sizeof(buf), sockfp) >= 0) { + if (fgets(buf, sizeof(buf), sockfp)) { if (outlevel == O_VERBOSE) error(0, 0, "POP3< %s", buf); @@ -165,7 +165,7 @@ static int pop3_getrange(FILE *sockfp, struct query *ctl, int*countp, int*newp) int num; *newp = 0; - while (SockGets(buf, sizeof(buf), sockfp) >= 0) + while (fgets(buf, sizeof(buf), sockfp)) { if (outlevel == O_VERBOSE) error(0, 0, "POP3< %s", buf); @@ -196,7 +196,7 @@ static int pop3_getsizes(FILE *sockfp, int count, int *sizes) { char buf [POPBUFSIZE+1]; - while (SockGets(buf, sizeof(buf), sockfp) >= 0) + while (fgets(buf, sizeof(buf), sockfp)) { int num, size; |