aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index fa2968ee..633f29af 100644
--- a/driver.c
+++ b/driver.c
@@ -1192,6 +1192,7 @@ va_dcl
strcat(buf, "\r\n");
fputs(buf, sockfp);
+ fflush(sockfp); /* sockfp should be linebuffered, but let's be sure */
if (outlevel == O_VERBOSE)
{
@@ -1234,6 +1235,8 @@ va_dcl
strcat(buf, "\r\n");
fputs(buf, sockfp);
+ fflush(sockfp); /* sockfp should be linebuffered, but let's be sure */
+
if (outlevel == O_VERBOSE)
{
char *cp;