Debug: provide for SIGALRM tracking
[exim.git] / src / src / transports / lmtp.c
index 89c41d3db7526250e3e2f8a2540663812393f938..cea28c943a05fb6dab8eec1b23fe31d06b2f47c8 100644 (file)
@@ -299,10 +299,10 @@ for (;;)
 
     *readptr = 0;           /* In case nothing gets read */
     sigalrm_seen = FALSE;
-    alarm(timeout);
+    ALARM(timeout);
     rc = Ufgets(readptr, size-1, f);
     save_errno = errno;
-    alarm(0);
+    ALARM_CLR(0);
     errno = save_errno;
 
     if (rc != NULL) break;  /* A line has been read */