aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-08-07 20:06:40 +0000
committerNick Mathewson <nickm@torproject.org>2008-08-07 20:06:40 +0000
commit5ab6fe00514a86cfa6d680ecf83e76e2367803ed (patch)
tree254774b80c158f17dbfd20ca2cf09aa95c53afbc
parentb81d70addb30985ca40f52a9ea53a5a002826861 (diff)
downloadtor-5ab6fe00514a86cfa6d680ecf83e76e2367803ed.tar.gz
tor-5ab6fe00514a86cfa6d680ecf83e76e2367803ed.zip
r17680@tombo: nickm | 2008-08-07 16:06:30 -0400
Add a missing safe_str for a debug_log_message. Fix the bad part of bug 674. svn:r16462
-rw-r--r--ChangeLog1
-rw-r--r--src/or/connection_or.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9866f593f0..05ce2861b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@ Changes in version 0.2.1.5-alpha - 2008-08-??
Christopher Davis. Bugfix on 0.1.2.1-alpha.
- Correctly detect the presence of the linux/netfilter_ipv4.h header
when building against recent kernels. Bugfix on 0.1.2.1-alpha.
+ - Add a missing safe_str() call for a debug log message.
Changes in version 0.2.1.4-alpha - 2008-08-04
diff --git a/src/or/connection_or.c b/src/or/connection_or.c
index 6c08a4e77f..f67f4768b3 100644
--- a/src/or/connection_or.c
+++ b/src/or/connection_or.c
@@ -837,7 +837,7 @@ connection_tls_finish_handshake(or_connection_t *conn)
int started_here = connection_or_nonopen_was_started_here(conn);
log_debug(LD_OR,"tls handshake with %s done. verifying.",
- conn->_base.address);
+ safe_str(conn->_base.address));
directory_set_dirty();