diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-02-05 21:42:46 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-02-05 21:42:46 +0000 |
commit | bb32fa86d760bd4f18793e635c3cb7d5b932307b (patch) | |
tree | ddcffdad9afb003b91880440255689d95f1cddf6 | |
parent | 24ad6542c939d3e17cba5af14a51ba2f5bd2c3fc (diff) | |
download | tor-bb32fa86d760bd4f18793e635c3cb7d5b932307b.tar.gz tor-bb32fa86d760bd4f18793e635c3cb7d5b932307b.zip |
Re-normalize whitespace; make "make check-spaces" happy
svn:r3566
-rw-r--r-- | src/or/config.c | 4 | ||||
-rw-r--r-- | src/or/directory.c | 4 | ||||
-rw-r--r-- | src/or/main.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/or/config.c b/src/or/config.c index 9a051cef22..0c90b00d44 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -512,7 +512,7 @@ static config_var_t *config_find_option(const char *key) { int i; size_t keylen = strlen(key); - if(!keylen) + if (!keylen) return NULL; /* if they say "--" on the commandline, it's not an option */ /* First, check for an exact (case-insensitive) match */ for (i=0; config_vars[i].name; ++i) { @@ -1157,7 +1157,7 @@ validate_ports_csv(smartlist_t *sl, char *name) { int result = 0; tor_assert(name); - if(!sl) + if (!sl) return 0; SMARTLIST_FOREACH(sl, const char *, cp, diff --git a/src/or/directory.c b/src/or/directory.c index 98cf78a5d0..29e86d7620 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -188,9 +188,9 @@ directory_get_from_dirserver(uint8_t purpose, const char *resource, else { log_fn(LOG_NOTICE,"No running dirservers known. Not trying. (purpose %d)", purpose); - if(directconn) { + if (directconn) { /* remember we tried them all and failed. */ - directory_all_unreachable(time(NULL)); + directory_all_unreachable(time(NULL)); } } } diff --git a/src/or/main.c b/src/or/main.c index 0891708b4a..776111f541 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -1061,7 +1061,7 @@ static int do_main_loop(void) { int control_signal_act(int the_signal) { - switch(the_signal) + switch (the_signal) { case 1: signal_callback(0,0,(void*)(uintptr_t)SIGHUP); |