diff options
author | Roger Dingledine <arma@torproject.org> | 2007-01-17 00:14:43 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-01-17 00:14:43 +0000 |
commit | 8662f18102bfea591b1cf1d3b69329f9144b0620 (patch) | |
tree | cf3af4f786929c772a9ce0a467eb02b71269c559 /src/or/dns.c | |
parent | a36ec61fd7ef39588e3f97d0708e2d3a4c0d5255 (diff) | |
download | tor-8662f18102bfea591b1cf1d3b69329f9144b0620.tar.gz tor-8662f18102bfea591b1cf1d3b69329f9144b0620.zip |
boots and suspenders, or whatever the idiom is
svn:r9365
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index 89d8b1d960..ea1df1ac46 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -195,7 +195,7 @@ evdns_log_cb(int warn, const char *msg) } else if (!strcmpstart(msg, "Nameserver ") && (cp=strstr(msg, " is back up"))) { char *ns = tor_strndup(msg+11, cp-(msg+11)); - severity = all_down ? LOG_NOTICE : LOG_INFO; + severity = (all_down && warn) ? LOG_NOTICE : LOG_INFO; all_down = 0; control_event_server_status(LOG_NOTICE, "NAMESERVER_STATUS NS=%s STATUS=UP", ns); |