summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-12-13 19:37:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:49 -0500
commit4d3152e1454ce62f3d1f864ccbf2a58234dab09d (patch)
treee95f8257566783a973e5d6caa1ffc51aa8aa1fa3 /source3/nmbd
parentab7a4f7e8e4b946a8acd0a205c16dbf6a3afecad (diff)
downloadsamba-4d3152e1454ce62f3d1f864ccbf2a58234dab09d.tar.gz
samba-4d3152e1454ce62f3d1f864ccbf2a58234dab09d.tar.bz2
samba-4d3152e1454ce62f3d1f864ccbf2a58234dab09d.zip
r12214: Fix compile if SYNC_DNS is set.
Jeremy. (This used to be commit 7c545e1e77c3e235b21eb11d5ced91c603da491d)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/asyncdns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/asyncdns.c b/source3/nmbd/asyncdns.c
index c0626d1161..c8caa3fee2 100644
--- 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)));