Kaynağa Gözat

oh, and the other bits of the commit

svn:r5836
Roger Dingledine 20 yıl önce
ebeveyn
işleme
cca9a2f7b0
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 1 1
      src/or/circuitbuild.c
  2. 1 0
      src/or/or.h

+ 1 - 1
src/or/circuitbuild.c

@@ -493,7 +493,7 @@ circuit_deliver_create_cell(circuit_t *circ, uint8_t cell_type, char *payload)
 /** We've decided to start our reachability testing. If all
  * is set, log this to the user. Return 1 if we did, or 0 if
  * we chose not to log anything. */
-static int
+int
 inform_testing_reachability(void)
 {
   char dirbuf[128];

+ 1 - 0
src/or/or.h

@@ -1463,6 +1463,7 @@ circuit_t *circuit_establish_circuit(uint8_t purpose, extend_info_t *exit,
                                      int internal);
 int circuit_handle_first_hop(circuit_t *circ);
 void circuit_n_conn_done(connection_t *or_conn, int status);
+int inform_testing_reachability(void);
 int circuit_send_next_onion_skin(circuit_t *circ);
 void circuit_note_clock_jumped(int seconds_elapsed);
 int circuit_extend(cell_t *cell, circuit_t *circ);