summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-04-19 00:16:18 +0000
committerAndrew Tridgell <tridge@samba.org>2002-04-19 00:16:18 +0000
commitdcb572e0b26858f58ddcf5cac1c94be31cda844d (patch)
tree57483c66370529edda5d20792f41f22f03be423e /source3/libsmb
parentba309aaffac945fd8f2ecbb4d068e5bb7283a032 (diff)
downloadsamba-dcb572e0b26858f58ddcf5cac1c94be31cda844d.tar.gz
samba-dcb572e0b26858f58ddcf5cac1c94be31cda844d.tar.bz2
samba-dcb572e0b26858f58ddcf5cac1c94be31cda844d.zip
fixed a namequery bug caused by my recent string length patches
(This used to be commit b2329039d255928faf53474ee7ab06b6353b9fbe)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 7928d44652..c578df6621 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -191,7 +191,7 @@ BOOL name_status_find(const char *q_name, int q_type, int type, struct in_addr t
if (i == count)
goto done;
- pull_ascii(name, status[i].name, 15, 0, STR_TERMINATE);
+ pull_ascii(name, status[i].name, 15, -1, STR_TERMINATE);
result = True;
done: