Преглед изворни кода

Wrong format in log statement

Fixes bug 13701.
David Goulet пре 9 година
родитељ
комит
151f5f90b8
2 измењених фајлова са 5 додато и 1 уклоњено
  1. 4 0
      changes/bug13701
  2. 1 1
      src/or/circuituse.c

+ 4 - 0
changes/bug13701

@@ -0,0 +1,4 @@
+  o Minor bugfixes (logging):
+    - Log the circuit identifier correctly in
+      connection_ap_handshake_attach_circuit().  Fixes bug 13701;
+      bugfix on 0.0.6.

+ 1 - 1
src/or/circuituse.c

@@ -2324,7 +2324,7 @@ connection_ap_handshake_attach_circuit(entry_connection_t *conn)
       tor_assert(rendcirc);
       /* one is already established, attach */
       log_info(LD_REND,
-               "rend joined circ %d already here. attaching. "
+               "rend joined circ %u already here. attaching. "
                "(stream %d sec old)",
                (unsigned)rendcirc->base_.n_circ_id, conn_age);
       /* Mark rendezvous circuits as 'newly dirty' every time you use