[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r10935: whitespace fixes (in tor/trunk: . src/common src/or)
Author: nickm
Date: 2007-07-26 16:26:53 -0400 (Thu, 26 Jul 2007)
New Revision: 10935
Modified:
tor/trunk/
tor/trunk/src/common/compat.h
tor/trunk/src/or/circuitbuild.c
Log:
r13920@catbus: nickm | 2007-07-26 16:25:25 -0400
whitespace fixes
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r13920] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/common/compat.h
===================================================================
--- tor/trunk/src/common/compat.h 2007-07-26 07:23:36 UTC (rev 10934)
+++ tor/trunk/src/common/compat.h 2007-07-26 20:26:53 UTC (rev 10935)
@@ -284,7 +284,7 @@
#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
Modified: tor/trunk/src/or/circuitbuild.c
===================================================================
--- tor/trunk/src/or/circuitbuild.c 2007-07-26 07:23:36 UTC (rev 10934)
+++ tor/trunk/src/or/circuitbuild.c 2007-07-26 20:26:53 UTC (rev 10935)
@@ -1073,7 +1073,7 @@
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);
}