Fix compilation warning: must not format u64 as long.

This commit is contained in:
Nick Mathewson 2012-12-25 23:34:38 -05:00
parent 8324824d8f
commit 01a09e8f86

View 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;