[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Re-normalize whitespace; make "make check-spaces" happy
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv32139/src/or
Modified Files:
config.c directory.c main.c
Log Message:
Re-normalize whitespace; make "make check-spaces" happy
Index: config.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.310
retrieving revision 1.311
diff -u -d -r1.310 -r1.311
--- config.c 5 Feb 2005 21:40:24 -0000 1.310
+++ config.c 5 Feb 2005 21:42:45 -0000 1.311
@@ -512,7 +512,7 @@
{
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 @@
int result = 0;
tor_assert(name);
- if(!sl)
+ if (!sl)
return 0;
SMARTLIST_FOREACH(sl, const char *, cp,
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -d -r1.209 -r1.210
--- directory.c 4 Feb 2005 01:49:58 -0000 1.209
+++ directory.c 5 Feb 2005 21:42:45 -0000 1.210
@@ -188,9 +188,9 @@
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));
}
}
}
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.441
retrieving revision 1.442
diff -u -d -r1.441 -r1.442
--- main.c 5 Feb 2005 21:40:25 -0000 1.441
+++ main.c 5 Feb 2005 21:42:46 -0000 1.442
@@ -1061,7 +1061,7 @@
int
control_signal_act(int the_signal)
{
- switch(the_signal)
+ switch (the_signal)
{
case 1:
signal_callback(0,0,(void*)(uintptr_t)SIGHUP);