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
7589765a
Commit
7589765a
authored
Feb 22, 2008
by
Nick Mathewson
⛰
Browse files
r14401@tombo: nickm | 2008-02-22 15:33:42 -0500
Fix a really stupid parthensis error noticed by mwenge. svn:r13681
parent
e7db789e
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
7589765a
...
...
@@ -94,6 +94,8 @@ Changes in version 0.2.0.20-?? - 2008-02-??
as a "close". Stop calling closes "unexpected closes": existing
Tors don't use SSL_close(), so having a connection close without
the TLS shutdown handshake is hardly unexpected.
- Send NAMESERVER_STATUS messages for a single failed nameserver
correctly.
o Code simplifications and refactoring:
- Remove the tor_strpartition function: its logic was confused,
...
...
src/or/dns.c
View file @
7589765a
...
...
@@ -156,7 +156,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
)
;
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;
...
...
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