diff options
-rw-r--r-- | fetchmail.c | 2 | ||||
-rw-r--r-- | fetchmail.h | 2 | ||||
-rw-r--r-- | idle.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/fetchmail.c b/fetchmail.c index 95430c08..8d9dc8cc 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -729,7 +729,7 @@ int main(int argc, char **argv) * unwedge all servers in case the problem has been * manually repaired. */ - if ((lastsig = idle(run.poll_interval))) + if ((lastsig = interruptible_idle(run.poll_interval))) { #ifdef SYS_SIGLIST_DECLARED report(stdout, diff --git a/fetchmail.h b/fetchmail.h index c17a1585..fa38c73e 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -410,7 +410,7 @@ extern int stage; #define XMIT_RCPTBAD 3 /* SMTP listener rejected the name */ /* idle.c */ -int idle(int interval); +int interruptible_idle(int interval); /* sink.c: forwarding */ int stuffline(struct query *, char *); @@ -66,7 +66,7 @@ void itimerthread(void* dummy) RETSIGTYPE donothing(int sig) {signal(sig, donothing); lastsig = sig;} -int idle(int seconds) +int interruptible_idle(int seconds) /* time for a pause in the action; return TRUE if awakened by signal */ { int awoken = FALSE; |