Fix shutdown=no in ${readsocket}. Bug 2784
[exim.git] / src / src / lookups / readsock.c
index 7bb3b9ab55ce59ecdf3fab248839a7417c5c2027..06058ed17792757d72cdc5b8a42c46116721f831 100644 (file)
@@ -255,7 +255,7 @@ if (TRUE)
 if (!cctx->tls_ctx)
 #endif
   {
-  FILE * fp = fdopen(cctx->sock, lf.do_shutdown ? "rb" : "wb");
+  FILE * fp = fdopen(cctx->sock, "rb");
   ALARM(timeout);
   yield = cat_file(fp, NULL, eol);
   }