diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-08-20 10:18:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-08-20 15:22:03 +0200 |
commit | 9941c1e7fc7385ad72e3786ca266924d392326e3 (patch) | |
tree | 00ec25afc1f85dfbd69e5b77276732cb64ff5716 /testdata | |
parent | 8e6161d1b237a9967cbca01fcc4e31b6a84109d2 (diff) | |
download | samba-9941c1e7fc7385ad72e3786ca266924d392326e3.tar.gz samba-9941c1e7fc7385ad72e3786ca266924d392326e3.tar.bz2 samba-9941c1e7fc7385ad72e3786ca266924d392326e3.zip |
pidl/NDR: correctly check for valid properties
grep($str, @array) returns the number of elements in @array!
We need grep(/^$str$/, @array) to the only the amount of matches.
Also fix unitialized vars for the error case.
metze
(This used to be commit f002f147d8a8a0b49389e30e611ff8b33dd077e1)
Diffstat (limited to 'testdata')
0 files changed, 0 insertions, 0 deletions