[tor-commits] [tor/master] Fix a "directive within macro arguments" warning

nickm at torproject.org nickm at torproject.org
Mon Feb 27 15:58:47 UTC 2017


commit 135a0c20545aeff32407d2100a04b5b284b837de
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Feb 27 10:58:19 2017 -0500

    Fix a "directive within macro arguments" warning
---
 src/or/directory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/directory.c b/src/or/directory.c
index 5cd2397..c460f12 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1980,7 +1980,7 @@ connection_dir_client_reached_eof(dir_connection_t *conn)
   }
   if (!reason) reason = tor_strdup("[no reason given]");
 
-  log_debug(LD_DIR,
+  tor_log(LOG_DEBUG, LD_DIR,
             "Received response from directory server '%s:%d': %d %s "
             "(purpose: %d, response size: " U64_FORMAT
 #ifdef MEASUREMENTS_21206





More information about the tor-commits mailing list