Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
8662f181
Commit
8662f181
authored
Jan 17, 2007
by
Roger Dingledine
Browse files
boots and suspenders, or whatever the idiom is
svn:r9365
parent
a36ec61f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/dns.c
View file @
8662f181
...
@@ -195,7 +195,7 @@ evdns_log_cb(int warn, const char *msg)
...
@@ -195,7 +195,7 @@ evdns_log_cb(int warn, const char *msg)
}
else
if
(
!
strcmpstart
(
msg
,
"Nameserver "
)
&&
}
else
if
(
!
strcmpstart
(
msg
,
"Nameserver "
)
&&
(
cp
=
strstr
(
msg
,
" is back up"
)))
{
(
cp
=
strstr
(
msg
,
" is back up"
)))
{
char
*
ns
=
tor_strndup
(
msg
+
11
,
cp
-
(
msg
+
11
));
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
;
all_down
=
0
;
control_event_server_status
(
LOG_NOTICE
,
control_event_server_status
(
LOG_NOTICE
,
"NAMESERVER_STATUS NS=%s STATUS=UP"
,
ns
);
"NAMESERVER_STATUS NS=%s STATUS=UP"
,
ns
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment