Author: jelmer Date: 2007-05-07 12:41:23 +0000 (Mon, 07 May 2007) New Revision: 22742
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22742 Log: Fix tests. Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Changeset: Modified: branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm =================================================================== --- branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm 2007-05-07 12:31:42 UTC (rev 22741) +++ branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm 2007-05-07 12:41:23 UTC (rev 22742) @@ -920,12 +920,12 @@ $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";