Changeset 1216

Show
Ignore:
Timestamp:
02/19/08 14:23:54 (6 months ago)
Author:
xkovah
Message:

fixed issue with the file information not getting added to the process object…see the diff, it was a stupid error

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/trunk/lib/HoneyClient/Agent/Integrity.pm

    r1127 r1216  
    609609         
    610610        my @toks = split("\",\"", $line, $TOTAL_REG_TOKENS+1); 
     611        print "toks = @toks\n"; 
    611612        my $index = undef; 
    612613        my $proc_obj = undef; 
     
    691692                        #Fill in the default values, incase the file can't be found due to a rename rather than delete 
    692693                        $file_obj->{'file_content'} = { 
    693                             'size' => 0
     694                            'size' => -1
    694695                            'mime_type' => "UNKNOWN", 
    695696                            'md5' => "$toks[$F_NAME]$toks[$F_TIME]", 
     
    743744                            }; 
    744745                        } 
    745                         push @{$proc_obj->{'process_files'}},$file_obj; 
    746746                    } 
    747  
     747                    push @{$proc_obj->{'process_files'}},$file_obj; 
    748748                } 
    749749            }