diff options
author | George Kadianakis <desnacked@riseup.net> | 2013-08-05 20:54:54 +0300 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2013-08-05 21:05:39 +0300 |
commit | 0c4baa016feadd945172022ab91ff11bb0bc2117 (patch) | |
tree | 23376050430f99f73c12d9d28f06cd359002198e /src/or/statefile.c | |
parent | 00a7d1af9f0b1658f74fca00cff339696d326c4d (diff) | |
download | tor-0c4baa016feadd945172022ab91ff11bb0bc2117.tar.gz tor-0c4baa016feadd945172022ab91ff11bb0bc2117.zip |
Also test that server transports get written to Tor's state.
Diffstat (limited to 'src/or/statefile.c')
-rw-r--r-- | src/or/statefile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/statefile.c b/src/or/statefile.c index aac8850b16..8736c35a2d 100644 --- a/src/or/statefile.c +++ b/src/or/statefile.c @@ -4,6 +4,7 @@ * Copyright (c) 2007-2013, The Tor Project, Inc. */ /* See LICENSE for licensing information */ +#define STATEFILE_PRIVATE #include "or.h" #include "circuitstats.h" #include "config.h" @@ -449,7 +450,7 @@ or_state_save(time_t now) /** Return the config line for transport <b>transport</b> in the current state. * Return NULL if there is no config line for <b>transport</b>. */ -static config_line_t * +STATIC config_line_t * get_transport_in_state_by_name(const char *transport) { or_state_t *or_state = get_or_state(); |