r13920@catbus: nickm | 2007-07-26 16:25:25 -0400

whitespace fixes


svn:r10935
This commit is contained in:
Nick Mathewson 2007-07-26 20:26:53 +00:00
parent 7f3e2378b6
commit 189bc7cf9f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);
}