Browse Source

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

Nick Mathewson 16 years ago
parent
commit
5ab6fe0051
2 changed files with 2 additions and 1 deletions
  1. 1 0
      ChangeLog
  2. 1 1
      src/or/connection_or.c

+ 1 - 0
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

+ 1 - 1
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();