summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-11-26 12:44:12 -0500
committerNick Mathewson <nickm@torproject.org>2015-11-26 12:44:12 -0500
commit0c7bfb206ea14ea3115c1b8b214ec79f5e6694e1 (patch)
tree3a3aadd316499262107db493a88ef63d8c6a7970 /src/or/connection_edge.h
parentfc264975b15b7e6b731441a4363da53b3b28f415 (diff)
downloadtor-0c7bfb206ea14ea3115c1b8b214ec79f5e6694e1.tar.gz
tor-0c7bfb206ea14ea3115c1b8b214ec79f5e6694e1.zip
improve log messages to try to track down #17659
Diffstat (limited to 'src/or/connection_edge.h')
-rw-r--r--src/or/connection_edge.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/or/connection_edge.h b/src/or/connection_edge.h
index 521e759aed..90cf2a350f 100644
--- a/src/or/connection_edge.h
+++ b/src/or/connection_edge.h
@@ -66,7 +66,10 @@ int connection_ap_can_use_exit(const entry_connection_t *conn,
void connection_ap_expire_beginning(void);
void connection_ap_rescan_and_attach_pending(void);
void connection_ap_attach_pending(int retry);
-void connection_ap_mark_as_pending_circuit(entry_connection_t *entry_conn);
+void connection_ap_mark_as_pending_circuit_(entry_connection_t *entry_conn,
+ const char *file, int line);
+#define connection_ap_mark_as_pending_circuit(c) \
+ connection_ap_mark_as_pending_circuit_((c), __FILE__, __LINE__)
void connection_ap_fail_onehop(const char *failed_digest,
cpath_build_state_t *build_state);
void circuit_discard_optional_exit_enclaves(extend_info_t *info);