pidl: Use NDR_ZERO_STRUCT(P) macros
[sfrench/samba-autobuild/.git] / pidl / lib / Parse / Pidl / Samba3 / ServerNDR.pm
index c87d17a5a78c1ab21b70fc7e25cdd85875a0efc6..fa7303b854340976fc9b34d253ccfcd3f08eb89e 100644 (file)
@@ -103,7 +103,7 @@ sub CallWithStruct($$$$$$)
                if (grep(/out/, @{$_->{DIRECTION}})) { $hasout = 1; }
        }
 
-       pidl "ZERO_STRUCT(r->out);" if ($hasout);
+       pidl "NDR_ZERO_STRUCT(r->out);" if ($hasout);
 
        foreach (@{$fn->{ELEMENTS}}) {
                my @dir = @{$_->{DIRECTION}};