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
c126b79f
Commit
c126b79f
authored
Feb 19, 2008
by
Roger Dingledine
Browse files
be more explicit about a harmless thing that freaked veracode out
svn:r13592
parent
4ccffd7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/dns.c
View file @
c126b79f
...
...
@@ -157,6 +157,7 @@ evdns_log_cb(int warn, const char *msg)
if
(
!
strcmpstart
(
msg
,
"Nameserver "
)
&&
(
cp
=
strstr
(
msg
,
" has failed: "
)))
{
char
*
ns
=
tor_strndup
(
msg
+
11
,
cp
-
(
msg
+
11
));
const
char
*
err
=
strchr
(
cp
,
':'
+
2
);
tor_assert
(
err
);
/* Don't warn about a single failed nameserver; we'll warn with 'all
* nameservers have failed' if we're completely out of nameservers;
* otherwise, the situation is tolerable. */
...
...
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