1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

r12214: Fix compile if SYNC_DNS is set.

Jeremy.
This commit is contained in:
Jeremy Allison 2005-12-13 19:37:05 +00:00 committed by Gerald (Jerry) Carter
parent 932e337db8
commit 7c545e1e77

View File

@ -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)));