git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab7a4f7
)
r12214: Fix compile if SYNC_DNS is set.
author
Jeremy Allison
<jra@samba.org>
Tue, 13 Dec 2005 19:37:05 +0000
(19:37 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:05:49 +0000
(11:05 -0500)
Jeremy.
(This used to be commit
7c545e1e77c3e235b21eb11d5ced91c603da491d
)
source3/nmbd/asyncdns.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/asyncdns.c
b/source3/nmbd/asyncdns.c
index c0626d1161942bbabcea3b611b5a0e3f22d3c3c8..c8caa3fee2987b962dd4ebde401ed6d58f2cf076 100644
(file)
--- a/
source3/nmbd/asyncdns.c
+++ b/
source3/nmbd/asyncdns.c
@@
-323,7
+323,7
@@
BOOL queue_dns_query(struct packet_struct *p,struct nmb_name *question)
struct in_addr dns_ip;
unstring qname;
- pull_ascii_nstring(qname, question->name);
+ pull_ascii_nstring(qname,
sizeof(qname),
question->name);
DEBUG(3,("DNS search for %s - ", nmb_namestr(question)));