summaryrefslogtreecommitdiff
path: root/src/or/statefile.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-07-29 11:37:39 -0400
committerNick Mathewson <nickm@torproject.org>2013-07-31 13:34:16 -0400
commit22a074caa71723b35c3a59620f8a2ebdbf290388 (patch)
tree1da68b80fa4b22688b86edcf21494e6e223a19e4 /src/or/statefile.c
parent99bb6d2937a76caf7d6085fb063d89c1c8b3d9b6 (diff)
downloadtor-22a074caa71723b35c3a59620f8a2ebdbf290388.tar.gz
tor-22a074caa71723b35c3a59620f8a2ebdbf290388.zip
Update pt/configure_proxy until it stops segfaulting
Diffstat (limited to 'src/or/statefile.c')
-rw-r--r--src/or/statefile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/statefile.c b/src/or/statefile.c
index bcb7b07417..aac8850b16 100644
--- a/src/or/statefile.c
+++ b/src/or/statefile.c
@@ -117,8 +117,8 @@ static const config_format_t state_format = {
static or_state_t *global_state = NULL;
/** Return the persistent state struct for this Tor. */
-or_state_t *
-get_or_state(void)
+MOCK_IMPL(or_state_t *,
+get_or_state, (void))
{
tor_assert(global_state);
return global_state;