git.samba.org
/
resolv_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f068cda
)
rwrap: Only report a notice when a search doesn't have a result
author
Andreas Schneider
<asn@samba.org>
Tue, 18 Jul 2017 08:23:20 +0000
(10:23 +0200)
committer
Andreas Schneider
<asn@samba.org>
Tue, 28 Aug 2018 09:46:18 +0000
(11:46 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
src/resolv_wrapper.c
patch
|
blob
|
history
diff --git
a/src/resolv_wrapper.c
b/src/resolv_wrapper.c
index 2b496967a1d3bd6cebba7f4a838e4cf67998f2c7..b54d6fea7dd251c479c7747eee0b3801eb0b8a48 100644
(file)
--- a/
src/resolv_wrapper.c
+++ b/
src/resolv_wrapper.c
@@
-1196,8
+1196,9
@@
static int rwrap_res_fake_hosts(const char *hostfile,
resp_size = rwrap_fake_empty(type, rrs->key, answer, anslen);
break;
default:
- RWRAP_LOG(RWRAP_LOG_ERROR,
- "Error searching for [%s]\n", query_name);
+ RWRAP_LOG(RWRAP_LOG_NOTICE,
+ "Searching for [%s] did not return any results\n",
+ query_name);
free(query_name);
return -1;
}