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:
ba309aa
)
fixed a namequery bug caused by my recent string length patches
author
Andrew Tridgell
<tridge@samba.org>
Fri, 19 Apr 2002 00:16:18 +0000
(
00:16
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 19 Apr 2002 00:16:18 +0000
(
00:16
+0000)
(This used to be commit
b2329039d255928faf53474ee7ab06b6353b9fbe
)
source3/libsmb/namequery.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/namequery.c
b/source3/libsmb/namequery.c
index 7928d44652574361e58c6fe03b4de133d1f95534..c578df66217f2dd4acd4e9a853c4a031385b8af3 100644
(file)
--- 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: