From 1e1dfc0c97a56ebacb0536189f7ab303479642a3 Mon Sep 17 00:00:00 2001 From: eric Date: Wed, 27 Mar 2013 07:40:41 +0000 Subject: 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. --- lib/libc/asr/res_send_async.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/asr/res_send_async.c') 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 * @@ -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 */ -- cgit v1.2.3-59-g8ed1b