summaryrefslogtreecommitdiff
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
parent7f3e2378b64f07f1bcebf80f7846a6580c29786a (diff)
downloadtor-189bc7cf9fc7b5231f24721226dae87943cf12fe.tar.gz
tor-189bc7cf9fc7b5231f24721226dae87943cf12fe.zip
r13920@catbus: nickm | 2007-07-26 16:25:25 -0400
whitespace fixes svn:r10935
-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 2371ee4676..2e97dee22c 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 8f2e4ed747..83f4a50a1a 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);
}