diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-25 23:34:38 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-12-25 23:34:38 -0500 |
commit | 01a09e8f8601ce61be500c92ea200c29e4389c7a (patch) | |
tree | 1592b3f8edddb692daaf712ac0706c94bb66b268 /src/or | |
parent | 8324824d8f7cd9a68b2c2d6d50aa7ad28b9ba761 (diff) | |
download | tor-01a09e8f8601ce61be500c92ea200c29e4389c7a.tar tor-01a09e8f8601ce61be500c92ea200c29e4389c7a.tar.gz |
Fix compilation warning: must not format u64 as long.
Diffstat (limited to 'src/or')
-rw-r--r-- | 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 a7c201fcf..defe94408 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; |