]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix compilation warning: must not format u64 as long.
authorNick Mathewson <nickm@torproject.org>
Wed, 26 Dec 2012 04:34:38 +0000 (23:34 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 26 Dec 2012 04:34:38 +0000 (23:34 -0500)
src/or/connection_edge.c

index a7c201fcf1ce4a4e16deb6506e997926ec42040e..defe94408b25c96dcaafa511c53f937be6be7343 100644 (file)
@@ -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;