Changeset 6237ded


Ignore:
Timestamp:
2006-10-22T13:58:32Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
bbb6ffb, bd28e6a, e8a6211
Parents:
28eda86
Message:

set_eval_int() was pretty broken...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • set.c

    r28eda86 r6237ded  
    173173char *set_eval_int( set_t *set, char *value )
    174174{
    175         char *s;
     175        char *s = value;
    176176       
    177177        /* Allow a minus at the first position. */
     
    179179                s ++;
    180180       
    181         for( s = value; *s; s ++ )
     181        for( ; *s; s ++ )
    182182                if( !isdigit( *s ) )
    183183                        return NULL;
Note: See TracChangeset for help on using the changeset viewer.