[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r13378: Whitespace cleanups (in tor/trunk: . src/or)



Author: nickm
Date: 2008-02-05 14:40:15 -0500 (Tue, 05 Feb 2008)
New Revision: 13378

Modified:
   tor/trunk/
   tor/trunk/src/or/routerlist.c
Log:
 r17897@catbus:  nickm | 2008-02-05 13:51:40 -0500
 Whitespace cleanups



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r17897] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c	2008-02-05 19:36:06 UTC (rev 13377)
+++ tor/trunk/src/or/routerlist.c	2008-02-05 19:40:15 UTC (rev 13378)
@@ -283,7 +283,8 @@
 {
   cert_list_t *cl;
   authority_cert_t *best = NULL;
-  if (!trusted_dir_certs || !(cl = digestmap_get(trusted_dir_certs, id_digest)))
+  if (!trusted_dir_certs ||
+      !(cl = digestmap_get(trusted_dir_certs, id_digest)))
     return NULL;
   SMARTLIST_FOREACH(cl->certs, authority_cert_t *, cert,
   {
@@ -320,7 +321,8 @@
                               const char *sk_digest)
 {
   cert_list_t *cl;
-  if (!trusted_dir_certs || !(cl = digestmap_get(trusted_dir_certs, id_digest)))
+  if (!trusted_dir_cl ||
+      !(certs = digestmap_get(trusted_dir_certs, id_digest)))
     return NULL;
   SMARTLIST_FOREACH(cl->certs, authority_cert_t *, cert,
     if (!memcmp(cert->signing_key_digest, sk_digest, DIGEST_LEN))
@@ -347,7 +349,8 @@
 authority_cert_dl_failed(const char *id_digest, int status)
 {
   cert_list_t *cl;
-  if (!trusted_dir_certs || !(cl = digestmap_get(trusted_dir_certs, id_digest)))
+  if (!trusted_dir_certs ||
+      !(cl = digestmap_get(trusted_dir_certs, id_digest)))
     return;
 
   download_status_failed(&cl->dl_status, status);