1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

fixed a namequery bug caused by my recent string length patches

(This used to be commit b2329039d255928faf53474ee7ab06b6353b9fbe)
This commit is contained in:
Andrew Tridgell 2002-04-19 00:16:18 +00:00
parent ba309aaffa
commit dcb572e0b2

View File

@ -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: