[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix compilation warning: must not format u64 as long.



commit 01a09e8f8601ce61be500c92ea200c29e4389c7a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Dec 25 23:34:38 2012 -0500

    Fix compilation warning: must not format u64 as long.
---
 src/or/connection_edge.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index a7c201f..defe944 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -2199,8 +2199,10 @@ connection_ap_handshake_socks_reply(entry_connection_t *conn, char *reply,
       // DNS remaps can trigger this. So can failed hidden service
       // lookups.
       log_info(LD_BUG,
-               "No origin circuit for successful SOCKS stream %lu. Reason: "
-               "%d", ENTRY_TO_CONN(conn)->global_identifier, endreason);
+               "No origin circuit for successful SOCKS stream "U64_FORMAT
+               ". Reason: %d",
+               U64_PRINTF_ARG(ENTRY_TO_CONN(conn)->global_identifier),
+               endreason);
     } else {
       TO_ORIGIN_CIRCUIT(conn->edge_.on_circuit)->path_state
           = PATH_STATE_USE_SUCCEEDED;

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits