aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-12-17 20:53:10 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-12-17 20:53:10 +0000
commitb85d71b67a2743272f46c85bf479b1051171193d (patch)
treef828606268e283fa4d36ec6fb91ffc5fb19d9402 /pop2.c
parentf034d4af6612be9fc2b393855ec5ac95d548d5d8 (diff)
downloadfetchmail-b85d71b67a2743272f46c85bf479b1051171193d.tar.gz
fetchmail-b85d71b67a2743272f46c85bf479b1051171193d.tar.bz2
fetchmail-b85d71b67a2743272f46c85bf479b1051171193d.zip
SockGets is gone.
svn path=/trunk/; revision=650
Diffstat (limited to 'pop2.c')
-rw-r--r--pop2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop2.c b/pop2.c
index 32cba243..c2e5ecc4 100644
--- a/pop2.c
+++ b/pop2.c
@@ -23,7 +23,7 @@ int pop2_ok (FILE *sockfp, char *argbuf)
char buf [POPBUFSIZE+1];
pound_arg = equal_arg = -1;
- if (SockGets(buf, sizeof(buf), sockfp) >= 0) {
+ if (fgets(buf, sizeof(buf), sockfp)) {
if (outlevel == O_VERBOSE)
error(0, 0, "POP2< %s", buf);