summaryrefslogtreecommitdiffstats
path: root/pidl
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-08-02 11:50:32 +0400
committerMatthieu Patou <mat@matws.net>2011-08-06 01:33:06 +0400
commit7170cfaaf3b8663ac20be0231baa8ba90e80e5af (patch)
tree366d6d74e6ed0d7be1348a5790e3190a47cc3368 /pidl
parentbb865b4a95462ec2f1ed7436adb30dd89c91c65d (diff)
downloadsamba-7170cfaaf3b8663ac20be0231baa8ba90e80e5af.tar.gz
samba-7170cfaaf3b8663ac20be0231baa8ba90e80e5af.tar.xz
samba-7170cfaaf3b8663ac20be0231baa8ba90e80e5af.zip
pidl: don't expect to have quote when creating import headers
Currently the $_ didn't contains the quote anymore, in order to avoid any further regression the cleanup of quote is done before so that if $_ still have quotes we clean them in anycase.
Diffstat (limited to 'pidl')
-rw-r--r--pidl/lib/Parse/Pidl/Wireshark/NDR.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
index 64b8dcf18cc..83fc3cd3bf7 100644
--- a/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
+++ b/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
@@ -770,8 +770,8 @@ sub ProcessImport
my @imports = @_;
foreach (@imports) {
next if($_ eq "security");
- s/\.idl\"$//;
s/^\"//;
+ s/\.idl"?$//;
$self->pidl_hdr("#include \"packet-dcerpc-$_\.h\"");
}
$self->pidl_hdr("");