Browse Source

Fix compilation warning: must not format u64 as long.

Nick Mathewson 12 years ago
parent
commit
01a09e8f86
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/or/connection_edge.c

+ 4 - 2
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;