diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-03-29 19:39:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-03-29 19:39:12 +0000 |
commit | b5cb227ae077ce4d1e01c7487e40bfd84167cff3 (patch) | |
tree | b6a6baca28154eabd59e4778466e8fd23ef54ef7 /interface.c | |
parent | 4567784e2b9cd5b592b1b16056449ac24d80eedd (diff) | |
download | fetchmail-b5cb227ae077ce4d1e01c7487e40bfd84167cff3.tar.gz fetchmail-b5cb227ae077ce4d1e01c7487e40bfd84167cff3.tar.bz2 fetchmail-b5cb227ae077ce4d1e01c7487e40bfd84167cff3.zip |
Suppress monitor check after signal wakeup.
svn path=/trunk/; revision=2843
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface.c b/interface.c index 7a485e78..7ba922f9 100644 --- a/interface.c +++ b/interface.c @@ -434,7 +434,7 @@ void interface_note_activity(struct hostdata *hp) #endif } -int interface_approve(struct hostdata *hp) +int interface_approve(struct hostdata *hp, flag domonitor) /* return TRUE if OK to poll, FALSE otherwise */ { ifinfo_t ifinfo; @@ -460,7 +460,7 @@ int interface_approve(struct hostdata *hp) } /* if not monitoring link, all done */ - if (!hp->monitor) + if (!domonitor || !hp->monitor) return(TRUE); #ifdef ACTIVITY_DEBUG |