mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
Re-normalize whitespace; make "make check-spaces" happy
svn:r3566
This commit is contained in:
parent
24ad6542c9
commit
bb32fa86d7
@ -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,
|
||||
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user