mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
r13920@catbus: nickm | 2007-07-26 16:25:25 -0400
whitespace fixes svn:r10935
This commit is contained in:
parent
7f3e2378b6
commit
189bc7cf9f
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user