diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-03-14 04:44:50 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-03-14 04:44:50 +0000 |
commit | f34b0b77094710429baf281a4f567aaff526a756 (patch) | |
tree | 88b0dd96f5105e208de3c1cba81033e4d4fa8ef1 | |
parent | b1a68e0ae19b4b7300fbe813f45a3577384c8675 (diff) | |
download | fetchmail-f34b0b77094710429baf281a4f567aaff526a756.tar.gz fetchmail-f34b0b77094710429baf281a4f567aaff526a756.tar.bz2 fetchmail-f34b0b77094710429baf281a4f567aaff526a756.zip |
Rename idle().
svn path=/trunk/; revision=2826
-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; |