{
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) {
int result = 0;
tor_assert(name);
- if(!sl)
+ if (!sl)
return 0;
SMARTLIST_FOREACH(sl, const char *, cp,
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));
}
}
}
int
control_signal_act(int the_signal)
{
- switch(the_signal)
+ switch (the_signal)
{
case 1:
signal_callback(0,0,(void*)(uintptr_t)SIGHUP);