aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-07-26 20:26:53 +0000
committerNick Mathewson <nickm@torproject.org>2007-07-26 20:26:53 +0000
commit189bc7cf9fc7b5231f24721226dae87943cf12fe (patch)
treea0f9df41c852045ac3234b54d690dd05ba58832e /src
parent7f3e2378b64f07f1bcebf80f7846a6580c29786a (diff)
downloadtor-189bc7cf9fc7b5231f24721226dae87943cf12fe.tar
tor-189bc7cf9fc7b5231f24721226dae87943cf12fe.tar.gz
r13920@catbus: nickm | 2007-07-26 16:25:25 -0400
whitespace fixes svn:r10935
Diffstat (limited to 'src')
-rw-r--r--src/common/compat.h2
-rw-r--r--src/or/circuitbuild.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 2371ee467..2e97dee22 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -284,7 +284,7 @@ struct in6_addr
#endif
#if defined(__APPLE__) || defined(__darwin__) || defined(__FreeBSD__) \
- || defined (__NetBSD__) || defined(__OpenBSD__)
+ || defined(__NetBSD__) || defined(__OpenBSD__)
/* Many BSD variants seem not to define these. */
#ifndef s6_addr16
#define s6_addr16 __u6_addr.__u6_addr16
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 8f2e4ed74..83f4a50a1 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1073,7 +1073,7 @@ circuit_get_unhandled_ports(time_t now)
for (i = 0; i < smartlist_len(source); ++i) {
/*XXXX020 some of these are leaked somewhere.. fix that. */
- tmp = tor_malloc(sizeof(uint16_t));
+ tmp = tor_malloc(sizeof(uint16_t));
memcpy(tmp, smartlist_get(source, i), sizeof(uint16_t));
smartlist_add(dest, tmp);
}