INN commit: branches/2.4/backends (send-uucp.in)
INN Commit
Russ_Allbery at isc.org
Sun Apr 6 09:30:21 UTC 2008
Date: Sunday, April 6, 2008 @ 02:30:21
Author: iulius
Revision: 7737
Fix a bug in the display of the used compressor (cunbatch
was put if arguments were passed to gzip or bzip2).
Modified:
branches/2.4/backends/send-uucp.in
--------------+
send-uucp.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Modified: send-uucp.in
===================================================================
--- send-uucp.in 2008-04-06 09:27:49 UTC (rev 7736)
+++ send-uucp.in 2008-04-06 09:30:21 UTC (rev 7737)
@@ -134,7 +134,8 @@
sub unbatcher {
my ($compressor) = @_;
- $compressor =~ s%.*/%%;
+ $compressor =~ s%.*/%%; # Do not keep the complete path.
+ $compressor =~ s% .*%%; # Do not keep the optional parameters.
return $UNBATCHER{$compressor} || 'cunbatch';
}
More information about the inn-committers
mailing list