aboutsummaryrefslogtreecommitdiffstats
path: root/interface.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-11-26 04:40:49 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-11-26 04:40:49 +0000
commit0cb1da403dc08fce8bfb6904ef01ae171256f19d (patch)
tree797fc367ef508fe77f44a24e9f2b54326c5e27fe /interface.c
parent7aca93e4ee74fca4e04c04d6f29ae4a52c125908 (diff)
downloadfetchmail-0cb1da403dc08fce8bfb6904ef01ae171256f19d.tar.gz
fetchmail-0cb1da403dc08fce8bfb6904ef01ae171256f19d.tar.bz2
fetchmail-0cb1da403dc08fce8bfb6904ef01ae171256f19d.zip
Fixed Debian bug report Bug#29913
svn path=/trunk/; revision=2210
Diffstat (limited to 'interface.c')
-rw-r--r--interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c
index 392fa8d2..8b7b0085 100644
--- a/interface.c
+++ b/interface.c
@@ -211,7 +211,7 @@ void interface_note_activity(struct hostdata *hp)
count has now changed and they need to be re-updated)
*/
for (ctl = querylist; ctl; ctl = ctl->next) {
- if (!strcmp(hp->monitor, ctl->server.monitor))
+ if (ctl->server.monitor && !strcmp(hp->monitor, ctl->server.monitor))
ctl->server.monitor_io =
ifinfo.rx_packets + ifinfo.tx_packets;
/* do NOT update host entries following this one */