/[BackupPC]/trunk/lib/BackupPC/CGI/BurnMedia.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/BackupPC/CGI/BurnMedia.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 146 by iklaric, Fri Oct 7 12:03:05 2005 UTC revision 147 by iklaric, Fri Oct 7 12:03:56 2005 UTC
# Line 39  EOF Line 39  EOF
39    
40                  my $total_size = 0;                  my $total_size = 0;
41                                    
42                  foreach my $key(keys(%In))                  foreach my $key(keys(%In)) {
43                  {                          if ($key =~ m/^fcb([0-9]+)_([0-9]+)_([0-9]+)$/gi) {
44                          if ($key =~ m/fcb([0-9]+)_([0-9]+)/gi)                                  my ($host_id, $backup_num, $backup_id) = ($1,$2,$3);
45                          {                                  push @selected_backup_ids, $backup_id;
46                                  my $hostID = $1;                                  $total_size += BackupPC::SearchLib::getGzipSize($host_id, $backup_num);
                                 my $backupnum = $2;  
                                 push(@selectedBackups, ($hostID, $backupnum));  
                                 $total_size += BackupPC::SearchLib::getGzipSize($hostID, $backupnum);  
47                          }                          }
48                  }                  }
49    

Legend:
Removed from v.146  
changed lines
  Added in v.147

  ViewVC Help
Powered by ViewVC 1.1.26