diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-12-21 10:18:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-12-21 10:18:58 +0000 |
commit | b5eac88eceb211ef46470ef2c5e414134c088410 (patch) | |
tree | d890b3c1cfc275bfc2ce31372f92a0f1990378d8 /socket.c | |
parent | 5c55d8e17c7800553b3a49bdf75c6cf48421ea8f (diff) | |
download | fetchmail-b5eac88eceb211ef46470ef2c5e414134c088410.tar.gz fetchmail-b5eac88eceb211ef46470ef2c5e414134c088410.tar.bz2 fetchmail-b5eac88eceb211ef46470ef2c5e414134c088410.zip |
Emergency buffering removal.
svn path=/trunk/; revision=669
Diffstat (limited to 'socket.c')
-rw-r--r-- | socket.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -74,7 +74,12 @@ FILE *sockopen(char *host, int clientPort) return (FILE *)NULL; } fp = fdopen(sock, "r+"); + +#ifdef FOO + /* for unknown reasons, this results in horrible lossage */ setvbuf(fp, sbuf, _IOLBF, INTERNAL_BUFSIZE); +#endif /* FOO */ + return(fp); } |