]> Pileus Git - ~andy/fetchmail/commitdiff
Emergency buffering removal.
authorEric S. Raymond <esr@thyrsus.com>
Sat, 21 Dec 1996 10:18:58 +0000 (10:18 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Sat, 21 Dec 1996 10:18:58 +0000 (10:18 -0000)
svn path=/trunk/; revision=669

socket.c

index ddbf2f9351cf1a3fcef796d50700e674f2ae14f4..6af77ef3d737b63b569253e1f20bc9c09edbffb2 100644 (file)
--- a/socket.c
+++ b/socket.c
@@ -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);
 }