aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
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 67313f88..a501c624 100644
--- a/pop2.c
+++ b/pop2.c
@@ -25,7 +25,7 @@ char *argbuf;
char buf [POPBUFSIZE+1];
pound_arg = equal_arg = -1;
- if (SockGets(fileno(sockfp), buf, sizeof(buf)) >= 0) {
+ if (SockGets(buf, sizeof(buf), sockfp) >= 0) {
if (outlevel == O_VERBOSE)
fprintf(stderr,"%s\n",buf);