From a2278043c64feb80565c1a6bf6456c687f5a5923 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 31 Oct 1996 06:29:49 +0000 Subject: STEP 3: File pointer arguments in SockGets()/SockPuts(). svn path=/trunk/; revision=446 --- pop2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pop2.c') 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); -- cgit v1.2.3