cosmetic cleanups

This commit is contained in:
Roger Dingledine 2013-07-14 02:49:34 -04:00
parent de7cdc0d94
commit 6848e29307
3 changed files with 4 additions and 3 deletions

View file

@ -49,7 +49,7 @@ src_common_libor_a_SOURCES = \
src/common/procmon.c \ src/common/procmon.c \
src/common/util.c \ src/common/util.c \
src/common/util_codedigest.c \ src/common/util_codedigest.c \
src/common/sandbox.c \ src/common/sandbox.c \
$(libor_extra_source) $(libor_extra_source)
src_common_libor_crypto_a_SOURCES = \ src_common_libor_crypto_a_SOURCES = \

View file

@ -316,7 +316,7 @@ tor_global_sandbox(void)
#endif #endif
} }
/** Use <b>fd</b> to log non-survivable sandbox violations */ /** Use <b>fd</b> to log non-survivable sandbox violations. */
void void
sandbox_set_debugging_fd(int fd) sandbox_set_debugging_fd(int fd)
{ {
@ -326,3 +326,4 @@ sandbox_set_debugging_fd(int fd)
(void)fd; (void)fd;
#endif #endif
} }

View file

@ -3759,7 +3759,7 @@ typedef struct {
SAFELOG_SCRUB_ALL, SAFELOG_SCRUB_RELAY, SAFELOG_SCRUB_NONE SAFELOG_SCRUB_ALL, SAFELOG_SCRUB_RELAY, SAFELOG_SCRUB_NONE
} SafeLogging_; } SafeLogging_;
int Sandbox; /** < Boolean: should sandboxing be enabled? */ int Sandbox; /**< Boolean: should sandboxing be enabled? */
int SafeSocks; /**< Boolean: should we outright refuse application int SafeSocks; /**< Boolean: should we outright refuse application
* connections that use socks4 or socks5-with-local-dns? */ * connections that use socks4 or socks5-with-local-dns? */
#define LOG_PROTOCOL_WARN (get_options()->ProtocolWarnings ? \ #define LOG_PROTOCOL_WARN (get_options()->ProtocolWarnings ? \