Changeset 2971

Show
Ignore:
Timestamp:
03/08/10 12:14:27 (6 months ago)
Author:
matthijs
Message:

isspace is more reliable

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/OpenDNSSEC/signer/tools/v2/adfile.c

    r2856 r2971  
    7575    int i; 
    7676    for (i = 0; i < line_len; i++) { 
    77         if (line[i] != ' ' && 
    78             line[i] != '\t' && 
    79             line[i] != '\n' && 
    80             line[i] != '\0') { 
     77        if (!isspace(line[i])) { 
    8178            return 0; 
    8279        }