Changeset d4810df for root_commands.c


Ignore:
Timestamp:
2008-09-02T07:48:56Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ced1e17
Parents:
f86a3d5
Message:

Fixed check for set -del arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    rf86a3d5 rd4810df  
    265265       
    266266        if( cmd[1] && g_strncasecmp( cmd[1], "-del", 4 ) == 0 )
     267        {
     268                MIN_ARGS( 2, 0 );
    267269                set_full = cmd[2];
     270        }
    268271        else
    269272                set_full = cmd[1];
     
    279282                char *id;
    280283               
    281                 MIN_ARGS( 3, 0 );
    282        
    283284                if( ( tmp = strchr( set_full, '/' ) ) )
    284285                {
Note: See TracChangeset for help on using the changeset viewer.