Changeset 143 for trunk/src

Show
Ignore:
Timestamp:
12/20/10 09:11:18 (12 years ago)
Author:
andreu
Message:

We use strtoul instead of atol in rules_mgmt.c

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/rules_mgmt.c

    r127 r143  
    651651    }    
    652652    tmp->valueLength = 4; 
    653     tmp->stor.lvalue = (unsigned long) atol(value); 
     653/*    tmp->stor.lvalue = (unsigned long) atol(value);*/ 
     654    tmp->stor.lvalue = (unsigned long) strtoul(value, NULL, 10); 
    654655    tmp->next = vPtr; 
    655656  }