diff options
author | Matthieu Patou <mat@matws.net> | 2011-08-02 11:50:32 +0400 |
---|---|---|
committer | Matthieu Patou <mat@matws.net> | 2011-08-06 01:33:06 +0400 |
commit | 7170cfaaf3b8663ac20be0231baa8ba90e80e5af (patch) | |
tree | 366d6d74e6ed0d7be1348a5790e3190a47cc3368 /pidl/lib/Parse | |
parent | bb865b4a95462ec2f1ed7436adb30dd89c91c65d (diff) | |
download | samba-7170cfaaf3b8663ac20be0231baa8ba90e80e5af.tar.gz |
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/lib/Parse')
-rw-r--r-- | pidl/lib/Parse/Pidl/Wireshark/NDR.pm | 2 |
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 64b8dcf18c..83fc3cd3bf 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(""); |