summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-05-07 12:41:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:08 -0500
commitb157580538a26f0b71fb9d06f167e385064432d5 (patch)
tree320e700c9d52a47013bc5d48c7a1fa37d0d03cdf /source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
parentac0e2b606f35a43328c2df0280a1612ed19d0dbc (diff)
downloadsamba-b157580538a26f0b71fb9d06f167e385064432d5.tar.gz
samba-b157580538a26f0b71fb9d06f167e385064432d5.tar.bz2
samba-b157580538a26f0b71fb9d06f167e385064432d5.zip
r22742: Fix tests.
(This used to be commit 7240c2d7e30968b751d944f8a9a50573fcbe6671)
Diffstat (limited to 'source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 1fb9c4034f..ac923bef74 100644
--- a/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/source4/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -920,12 +920,12 @@ sub Parse($$$$$)
$self->{res}->{headers} .= "#include \"config.h\"\n";
$self->{res}->{headers} .= "#endif\n\n";
- $res{headers} .= "#ifdef _MSC_VER\n";
- $res{headers} .= "#pragma warning(disable:4005)\n";
- $res{headers} .= "#pragma warning(disable:4013)\n";
- $res{headers} .= "#pragma warning(disable:4018)\n";
- $res{headers} .= "#pragma warning(disable:4101)\n";
- $res{headers} .= "#endif\n\n";
+ $self->{res}->{headers} .= "#ifdef _MSC_VER\n";
+ $self->{res}->{headers} .= "#pragma warning(disable:4005)\n";
+ $self->{res}->{headers} .= "#pragma warning(disable:4013)\n";
+ $self->{res}->{headers} .= "#pragma warning(disable:4018)\n";
+ $self->{res}->{headers} .= "#pragma warning(disable:4101)\n";
+ $self->{res}->{headers} .= "#endif\n\n";
$self->{res}->{headers} .= "#include <glib.h>\n";
$self->{res}->{headers} .= "#include <string.h>\n";