aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-08-01 13:15:58 -0400
committerNick Mathewson <nickm@torproject.org>2013-08-15 12:03:37 -0400
commitd7358e8598710a4b78274bddd371d036ad0d47ea (patch)
tree986d98bcabb0456dfcc1b98ad35226dfb4a8fbd5 /src/or/control.c
parentfd6749203ed9ca27263e895b53a12a6d15878cdd (diff)
downloadtor-d7358e8598710a4b78274bddd371d036ad0d47ea.tar.gz
tor-d7358e8598710a4b78274bddd371d036ad0d47ea.zip
Expose/mock some functions to make ext_orport.c testing possible
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index faf794204b..3a32ea6873 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -4699,8 +4699,8 @@ control_event_bootstrap(bootstrap_status_t status, int progress)
* that indicates a problem. <b>warn</b> gives a hint as to why, and
* <b>reason</b> provides an "or_conn_end_reason" tag.
*/
-void
-control_event_bootstrap_problem(const char *warn, int reason)
+MOCK_IMPL(void,
+control_event_bootstrap_problem, (const char *warn, int reason))
{
int status = bootstrap_percent;
const char *tag, *summary;