aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorAndrea Shepard <andrea@torproject.org>2016-02-10 02:20:59 +0000
committerAndrea Shepard <andrea@torproject.org>2016-02-10 02:20:59 +0000
commit3014bfb61b7026ab2045cfd14842f313493e9c14 (patch)
tree98ce865b2b8a3a1f6c4952ad87bf360fc78a32b7 /src/or
parent0c4fa4a9234e8aae56a2a10c45ad0ff3c2bf91cf (diff)
downloadtor-3014bfb61b7026ab2045cfd14842f313493e9c14.tar.gz
tor-3014bfb61b7026ab2045cfd14842f313493e9c14.zip
Appease make check-spaces
Diffstat (limited to 'src/or')
-rw-r--r--src/or/directory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index 13392d6a5e..610c6eb450 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -1203,7 +1203,7 @@ directory_send_command(dir_connection_t *conn,
conn->requested_resource = tor_strdup(resource);
/* decorate the ip address if it is ipv6 */
- if(strchr(conn->base_.address, ':')) {
+ if (strchr(conn->base_.address, ':')) {
copy_ipv6_address(decorated_address, conn->base_.address,
sizeof(decorated_address), 1);
} else {
@@ -4185,3 +4185,4 @@ dir_split_resource_into_fingerprints(const char *resource,
smartlist_free(fp_tmp);
return 0;
}
+