[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] clean whitespace.
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv21791/src/or
Modified Files:
directory.c or.h routerparse.c
Log Message:
clean whitespace.
Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/directory.c,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -d -r1.254 -r1.255
--- directory.c 7 Sep 2005 16:42:53 -0000 1.254
+++ directory.c 7 Sep 2005 17:15:46 -0000 1.255
@@ -1127,7 +1127,7 @@
*cp = '\0';
/* XXXX This could be way more efficiently handled. */
if (tor_gzip_compress(&compressed, &compressed_len,
- inp, cp-inp, ZLIB_METHOD)<0){
+ inp, cp-inp, ZLIB_METHOD)<0) {
tor_free(cp);
smartlist_free(descs);
return -1;
Index: or.h
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/or.h,v
retrieving revision 1.667
retrieving revision 1.668
diff -u -d -r1.667 -r1.668
--- or.h 7 Sep 2005 16:42:53 -0000 1.667
+++ or.h 7 Sep 2005 17:15:46 -0000 1.668
@@ -705,7 +705,6 @@
struct addr_policy_t *next; /**< Next rule in list. */
} addr_policy_t;
-
/** A cached_dir_t represents a cacheable directory object, along with its
* compressed form. */
typedef struct cached_dir_t {
Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerparse.c,v
retrieving revision 1.126
retrieving revision 1.127
diff -u -d -r1.126 -r1.127
--- routerparse.c 7 Sep 2005 16:42:53 -0000 1.126
+++ routerparse.c 7 Sep 2005 17:15:46 -0000 1.127
@@ -1346,20 +1346,20 @@
goto err;
}
- if (!(tok = find_first_by_keyword(tokens, K_CLIENT_VERSIONS)) || tok->n_args<1){
+ if (!(tok = find_first_by_keyword(tokens, K_CLIENT_VERSIONS)) || tok->n_args<1) {
log_fn(LOG_WARN, "Missing client-versions");
goto err;
}
ns->client_versions = tok->args[0];
- if (!(tok = find_first_by_keyword(tokens, K_CLIENT_VERSIONS)) || tok->n_args<1){
+ if (!(tok = find_first_by_keyword(tokens, K_CLIENT_VERSIONS)) || tok->n_args<1) {
log_fn(LOG_WARN, "Missing client-versions");
goto err;
}
ns->client_versions = tok->args[0];
tok->args[0] = NULL;
- if (!(tok = find_first_by_keyword(tokens, K_SERVER_VERSIONS)) || tok->n_args<1){
+ if (!(tok = find_first_by_keyword(tokens, K_SERVER_VERSIONS)) || tok->n_args<1) {
log_fn(LOG_WARN, "Missing server-versions");
goto err;
}
@@ -1421,7 +1421,6 @@
return ns;
}
-
/** Parse the exit policy in the string <b>s</b> and return it. If
* assume_action is nonnegative, then insert its action (ADDR_POLICY_ACCEPT or
* ADDR_POLICY_REJECT) for items that specify no action.