Fix spurious detection of timeout while writing to transport filter
[exim.git] / src / src / transport.c
index 3eb1c8097e04b3657b9e9f072b84d00d1dea7a70..e4aaa7debd889e8e2789883ddafa5c80337485cf 100644 (file)
@@ -265,6 +265,7 @@ for (int i = 0; i < 100; i++)
       }
     else                               /* Timeout wanted. */
       {
       }
     else                               /* Timeout wanted. */
       {
+      sigalrm_seen = FALSE;
       ALARM(local_timeout);
        rc = tpt_write(fd, block, len, more, tctx->options);
        save_errno = errno;
       ALARM(local_timeout);
        rc = tpt_write(fd, block, len, more, tctx->options);
        save_errno = errno;