git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f93cbc
)
Fix bug in generation of function ndr_pull code generation. This patch
author
Tim Potter
<tpot@samba.org>
Sat, 15 Nov 2003 05:15:40 +0000
(
05:15
+0000)
committer
Tim Potter
<tpot@samba.org>
Sat, 15 Nov 2003 05:15:40 +0000
(
05:15
+0000)
makes the code symmetric with the ndr_push code.
source/build/pidl/parser.pm
patch
|
blob
|
history
diff --git
a/source/build/pidl/parser.pm
b/source/build/pidl/parser.pm
index 71c64cb5f7c1783f31741e15984853eddbafcf41..ec747f33b5215a9d35c34f9550ea240754f2fa85 100644
(file)
--- a/
source/build/pidl/parser.pm
+++ b/
source/build/pidl/parser.pm
@@
-724,7
+724,9
@@
sub ParseFunctionPush($)
$res .= "\t}\n";
} else {
ParseElementPushScalar($e, "r->in.", "NDR_SCALARS|NDR_BUFFERS");
- ParseElementPushBuffer($e, "r->in.", "NDR_SCALARS|NDR_BUFFERS");
+ if ($e->{POINTERS}) {
+ ParseElementPushBuffer($e, "r->in.", "NDR_SCALARS|NDR_BUFFERS");
+ }
}
}
}