From 189bc7cf9fc7b5231f24721226dae87943cf12fe Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 26 Jul 2007 20:26:53 +0000 Subject: [PATCH] r13920@catbus: nickm | 2007-07-26 16:25:25 -0400 whitespace fixes svn:r10935 --- src/common/compat.h | 2 +- src/or/circuitbuild.c | 2 +- 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); }