diff options
author | 2017-02-27 10:44:46 +0000 | |
---|---|---|
committer | 2017-02-27 10:44:46 +0000 | |
commit | abe78e0284f7775d363a13655878a3554e377e0c (patch) | |
tree | ee21cefea26432083eb1903ddab197d1b7356692 /lib/libc/asr/asr.c | |
parent | bump block size for dd; 39x faster on my system. (diff) | |
download | wireguard-openbsd-abe78e0284f7775d363a13655878a3554e377e0c.tar.xz wireguard-openbsd-abe78e0284f7775d363a13655878a3554e377e0c.zip |
Put a common flags field in the query struct, rather than in some
elements of the union.
This field is for internal asr flags. The flags in "struct rrset" and
"struct ni" are different kinds of flags.
ok eric@
Diffstat (limited to 'lib/libc/asr/asr.c')
-rw-r--r-- | lib/libc/asr/asr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/asr/asr.c b/lib/libc/asr/asr.c index b678ebccebf..d5601e59c59 100644 --- a/lib/libc/asr/asr.c +++ b/lib/libc/asr/asr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr.c,v 1.56 2017/02/23 17:04:02 eric Exp $ */ +/* $OpenBSD: asr.c,v 1.57 2017/02/27 10:44:46 jca Exp $ */ /* * Copyright (c) 2010-2012 Eric Faurot <eric@openbsd.org> * @@ -244,7 +244,7 @@ _asr_async_free(struct asr_query *as) case ASR_SEND: if (as->as_fd != -1) close(as->as_fd); - if (as->as.dns.obuf && !(as->as.dns.flags & ASYNC_EXTOBUF)) + if (as->as.dns.obuf && !(as->as_flags & ASYNC_EXTOBUF)) free(as->as.dns.obuf); if (as->as.dns.ibuf) free(as->as.dns.ibuf); |