summaryrefslogtreecommitdiffstats
path: root/lib/libc/asr/res_send_async.c
diff options
context:
space:
mode:
authoreric <eric@openbsd.org>2013-03-27 07:40:41 +0000
committereric <eric@openbsd.org>2013-03-27 07:40:41 +0000
commit1e1dfc0c97a56ebacb0536189f7ab303479642a3 (patch)
tree5e52521a8c5f09d789a558969f10521bd5e88cb8 /lib/libc/asr/res_send_async.c
parentcombine several atomic_clearbits calls into one. slightly faster on (diff)
downloadwireguard-openbsd-1e1dfc0c97a56ebacb0536189f7ab303479642a3.tar.xz
wireguard-openbsd-1e1dfc0c97a56ebacb0536189f7ab303479642a3.zip
Only use the search domains for DNS lookups, as the current resolver does.
Better not diverge too much in behavior at this point. Typo fix and doc update while there.
Diffstat (limited to 'lib/libc/asr/res_send_async.c')
-rw-r--r--lib/libc/asr/res_send_async.c4
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 72efa178a41..374cc4336c5 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.6 2012/11/24 15:12:48 eric Exp $ */
+/* $OpenBSD: res_send_async.c,v 1.7 2013/03/27 07:40:41 eric Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -150,7 +150,7 @@ res_query_async_ctx(const char *name, int class, int type, unsigned char *ans,
as->as.dns.ibuflen = 0;
/* This adds a "." to name if it doesn't already has one.
- * That's how res_query() behaves (trough res_mkquery").
+ * That's how res_query() behaves (through res_mkquery").
*/
if (setup_query(as, name, NULL, class, type) == -1)
goto err; /* errno set */