~ubuntu-branches/ubuntu/gutsy/awstats/gutsy-updates

« back to all changes in this revision

Viewing changes to tools/maillogconvert.pl

  • Committer: Bazaar Package Importer
  • Author(s): Charles Fry
  • Date: 2007-02-10 11:11:02 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070210111102-bbx43ay1krtxh1nq
Tags: 6.6+dfsg-1
New upstream release (Closes: #350987, #335865)

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
# Defines
20
20
#-------------------------------------------------------
21
21
use vars qw/ $REVISION $VERSION /;
22
 
$REVISION='$Revision: 1.32 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
 
22
$REVISION='$Revision: 1.33 $'; $REVISION =~ /\s(.*)\s/; $REVISION=$1;
23
23
$VERSION="1.2 (build $REVISION)";
24
24
 
25
25
use vars qw/
370
370
                $mail{$id}{'mon'}=$mon;
371
371
                $mail{$id}{'day'}=$day;
372
372
                $mail{$id}{'time'}=$time;
373
 
                if (&trim($to)=~/^|/) {
 
373
                if (&trim($to)=~/^\|/) {
374
374
                        # In particular case of mails are sent to a pipe, the ctladdr contains the to
375
375
                        $mail{$id}{'to'}=&trim($fromorto);
376
376
                } else {