diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-31 08:49:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-31 08:49:50 +0000 |
commit | c2aeabfb67891889fde49b70a5bee8dbfeb7b8de (patch) | |
tree | 61ca331ebc7cbc668acc21109140507b8a4be4ab /smtp.c | |
parent | 5e5aa7075cefa4a53bcc10359619a366ad712189 (diff) | |
download | fetchmail-c2aeabfb67891889fde49b70a5bee8dbfeb7b8de.tar.gz fetchmail-c2aeabfb67891889fde49b70a5bee8dbfeb7b8de.tar.bz2 fetchmail-c2aeabfb67891889fde49b70a5bee8dbfeb7b8de.zip |
STEP 9: We can finally use SockGets here.
svn path=/trunk/; revision=454
Diffstat (limited to 'smtp.c')
-rw-r--r-- | smtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -104,7 +104,7 @@ static int SMTP_check(FILE *sockfp,char *argbuf) int ok; char buf[SMTPBUFSIZE]; - if ((ok = read(fileno(sockfp), buf, sizeof(buf)-1)) > 0) { + if ((ok = SockGets(buf, sizeof(buf)-1, sockfp)) > 0) { buf[ok] = '\0'; if (outlevel == O_VERBOSE) fprintf(stderr, "SMTP< %s", buf); |