aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-02-05 19:40:21 +0000
committerNick Mathewson <nickm@torproject.org>2008-02-05 19:40:21 +0000
commit2866c53eec8cd592955f15cec1a317e04aaafc7f (patch)
treea3bd49584d9897803ca02a15fbe8675155e93ce9
parentac69319d3f1554413eec68313bd83b153fd4ff7f (diff)
downloadtor-2866c53eec8cd592955f15cec1a317e04aaafc7f.tar.gz
tor-2866c53eec8cd592955f15cec1a317e04aaafc7f.zip
r17900@catbus: nickm | 2008-02-05 14:14:54 -0500
I wonder what the emacs command is for "exchange words?" I know that there _is_ one, because I apparently hit it by accident. svn:r13381
-rw-r--r--src/or/routerlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 101a4a4f68..4cb914bcb5 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -321,8 +321,8 @@ authority_cert_get_by_digests(const char *id_digest,
const char *sk_digest)
{
cert_list_t *cl;
- if (!trusted_dir_cl ||
- !(certs = 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,
if (!memcmp(cert->signing_key_digest, sk_digest, DIGEST_LEN))