git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0fcb7b
)
libdns: Properly set ENOMEM
author
Volker Lendecke
<vl@samba.org>
Sun, 6 Dec 2015 10:20:24 +0000
(11:20 +0100)
committer
Jeremy Allison
<jra@samba.org>
Tue, 8 Dec 2015 22:01:27 +0000
(23:01 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/dns/dns.c
patch
|
blob
|
history
diff --git
a/libcli/dns/dns.c
b/libcli/dns/dns.c
index 90b7618bdca06f8a509cf50b853a7749beaa1eea..cc1eba988e4a60cd40d3c344c1065514c9d39557 100644
(file)
--- a/
libcli/dns/dns.c
+++ b/
libcli/dns/dns.c
@@
-96,6
+96,7
@@
struct tevent_req *dns_udp_request_send(TALLOC_CTX *mem_ctx,
if (!tevent_req_set_endtime(req, ev,
timeval_current_ofs(DNS_REQUEST_TIMEOUT, 0))) {
+ tevent_req_oom(req);
return tevent_req_post(req, ev);
}