git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4908bc3
)
pidl:NDR: [in,out,string] doesn't need to pointers
author
Stefan Metzmacher
<metze@samba.org>
Wed, 25 Aug 2010 09:02:52 +0000
(11:02 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 26 Aug 2010 06:49:40 +0000
(08:49 +0200)
metze
pidl/lib/Parse/Pidl/NDR.pm
patch
|
blob
|
history
diff --git
a/pidl/lib/Parse/Pidl/NDR.pm
b/pidl/lib/Parse/Pidl/NDR.pm
index 2358a25956397517fa1fcdc483b90ad4e115801b..197a92998c9eb91265390b12eb4e0f643a7da85f 100644
(file)
--- a/
pidl/lib/Parse/Pidl/NDR.pm
+++ b/
pidl/lib/Parse/Pidl/NDR.pm
@@
-104,7
+104,7
@@
sub GetElementLevelTable($$)
if (has_property($e, "out")) {
my $needptrs = 1;
- if (has_property($e, "string")) { $needptrs++; }
+ if (has_property($e, "string")
and not has_property($e, "in")
) { $needptrs++; }
if ($#bracket_array >= 0) { $needptrs = 0; }
warning($e, "[out] argument `$e->{NAME}' not a pointer") if ($needptrs > $e->{POINTERS});