diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2013-03-27 07:40:42 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2013-03-27 07:40:42 +0000 |
commit | 74e99ff2c880886dc4111fe09c95149762bfc2f9 (patch) | |
tree | 18341a75a5016cefed63624777649f2acc4fc095 /lib/libc/asr/res_send_async.c | |
parent | 5fa7e034e0e83d8f2236e12164749a8c0c7f82d3 (diff) |
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.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 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 */ |