diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-14 22:23:09 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-14 22:23:09 +0000 |
commit | 62c18c5613da94425b8966f40d3175755a25c049 (patch) | |
tree | eb99c3b928e4c2f3d39c32982de4d3d23302713c /lib/libc/asr | |
parent | aca9d7508def4d0899a08c15903cf2bd1f2fbc01 (diff) |
spacing
Diffstat (limited to 'lib/libc/asr')
-rw-r--r-- | lib/libc/asr/asr_utils.c | 4 | ||||
-rw-r--r-- | lib/libc/asr/gethostnamadr.c | 4 | ||||
-rw-r--r-- | lib/libc/asr/gethostnamadr_async.c | 4 | ||||
-rw-r--r-- | lib/libc/asr/res_send_async.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/asr/asr_utils.c b/lib/libc/asr/asr_utils.c index ef72718531d..e05905c58bb 100644 --- a/lib/libc/asr/asr_utils.c +++ b/lib/libc/asr/asr_utils.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr_utils.c,v 1.6 2013/04/02 21:23:17 eric Exp $ */ +/* $OpenBSD: asr_utils.c,v 1.7 2013/04/14 22:23:08 deraadt Exp $ */ /* * Copyright (c) 2009-2012 Eric Faurot <eric@faurot.net> * @@ -424,7 +424,7 @@ sockaddr_from_str(struct sockaddr *sa, int family, const char *str) struct in6_addr in6a; struct sockaddr_in *sin; struct sockaddr_in6 *sin6; - char *cp, *str2; + char *cp, *str2; const char *errstr; switch (family) { diff --git a/lib/libc/asr/gethostnamadr.c b/lib/libc/asr/gethostnamadr.c index 635306cbe54..6833166dbf7 100644 --- a/lib/libc/asr/gethostnamadr.c +++ b/lib/libc/asr/gethostnamadr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gethostnamadr.c,v 1.5 2013/04/04 17:49:33 eric Exp $ */ +/* $OpenBSD: gethostnamadr.c,v 1.6 2013/04/14 22:23:08 deraadt Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -82,7 +82,7 @@ _fillhostent(const struct hostent *h, struct hostent *r, char *buf, size_t len) pos += n + 1; } - pos = (char*)ALIGN(pos); + pos = (char *)ALIGN(pos); if (pos >= end) return; diff --git a/lib/libc/asr/gethostnamadr_async.c b/lib/libc/asr/gethostnamadr_async.c index f230ab6f9ee..1cbd1289e6e 100644 --- a/lib/libc/asr/gethostnamadr_async.c +++ b/lib/libc/asr/gethostnamadr_async.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gethostnamadr_async.c,v 1.17 2013/04/03 21:13:50 eric Exp $ */ +/* $OpenBSD: gethostnamadr_async.c,v 1.18 2013/04/14 22:23:08 deraadt Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -535,7 +535,7 @@ fail: static struct hostent_ext * hostent_alloc(int family) { - struct hostent_ext *h; + struct hostent_ext *h; size_t alloc; alloc = sizeof(*h) + 1024; diff --git a/lib/libc/asr/res_send_async.c b/lib/libc/asr/res_send_async.c index 487890fa318..7a91d190b83 100644 --- a/lib/libc/asr/res_send_async.c +++ b/lib/libc/asr/res_send_async.c @@ -1,4 +1,4 @@ -/* $OpenBSD: res_send_async.c,v 1.15 2013/04/05 07:12:24 eric Exp $ */ +/* $OpenBSD: res_send_async.c,v 1.16 2013/04/14 22:23:08 deraadt Exp $ */ /* * Copyright (c) 2012 Eric Faurot <eric@openbsd.org> * @@ -600,7 +600,7 @@ tcp_read(struct async *as) /* We must read the packet len first */ if (as->as.dns.datalen < sizeof(as->as.dns.pktlen)) { - pos = (char*)(&as->as.dns.pktlen) + as->as.dns.datalen; + pos = (char *)(&as->as.dns.pktlen) + as->as.dns.datalen; len = sizeof(as->as.dns.pktlen) - as->as.dns.datalen; n = read(as->as_fd, pos, len); |