Changeset 31


Ignore:
Timestamp:
Feb 5, 2008, 10:53:01 AM (13 years ago)
Author:
g7moreau
Message:
  • size_of_database = 1 if the database is empty because I use this number in a division...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/klask

    r30 r31  
    541541   my $number_of_computer = get_list_ip(@network); # + 1;
    542542   my $size_of_database   = keys %$computerdb;
     543      $size_of_database   = 1 if $size_of_database == 0;
    543544   my $i = 0;
    544545   my $detected_computer = 0;
Note: See TracChangeset for help on using the changeset viewer.