aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-07-26 19:07:37 +0000
committerNick Mathewson <nickm@torproject.org>2006-07-26 19:07:37 +0000
commitec82db6995e260b9400ded5a767e1f9c60a3cb18 (patch)
tree889f533f374f4c38c4066c9f428d994d2727c5c0 /src/or/routerlist.c
parent4ff4577beb7b7aa286059a5070b23357fff48bf3 (diff)
downloadtor-ec82db6995e260b9400ded5a767e1f9c60a3cb18.tar
tor-ec82db6995e260b9400ded5a767e1f9c60a3cb18.tar.gz
r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400
Clean up wide lines from last patch. svn:r6907
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 5eb804477..de98ac52f 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3317,9 +3317,9 @@ list_pending_descriptor_downloads(digestmap_t *result)
if (conn->type == CONN_TYPE_DIR &&
conn->purpose == DIR_PURPOSE_FETCH_SERVERDESC &&
!conn->marked_for_close) {
- dir_connection_t *dir_conn = TO_DIR_CONN(conn);
- if (!strcmpstart(dir_conn->requested_resource, prefix))
- dir_split_resource_into_fingerprints(dir_conn->requested_resource+p_len,
+ const char *resource = TO_DIR_CONN(conn)->requested_resource;
+ if (!strcmpstart(resource, prefix))
+ dir_split_resource_into_fingerprints(resource + p_len,
tmp, NULL, 1, 0);
}
}