diff options
author | 2013-04-14 22:23:08 +0000 | |
---|---|---|
committer | 2013-04-14 22:23:08 +0000 | |
commit | 770edc8b45a3b4252731059a3495311a07256a7f (patch) | |
tree | 4bed16286da0477d3c8e62a7fe41d46d584d2bad /lib/libc/asr/res_send_async.c | |
parent | sync (diff) | |
download | wireguard-openbsd-770edc8b45a3b4252731059a3495311a07256a7f.tar.xz wireguard-openbsd-770edc8b45a3b4252731059a3495311a07256a7f.zip |
spacing
Diffstat (limited to 'lib/libc/asr/res_send_async.c')
-rw-r--r-- | lib/libc/asr/res_send_async.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |