Changes in ipc.c [f1d38f2:f73b969]
Legend:
- Unmodified
- Added
- Removed
-
ipc.c
rf1d38f2 rf73b969 155 155 static void ipc_command_exec( void *data, char **cmd, const command_t *commands ) 156 156 { 157 int i , j;157 int i; 158 158 159 159 if( !cmd[0] ) … … 163 163 if( g_strcasecmp( commands[i].command, cmd[0] ) == 0 ) 164 164 { 165 /* There is no typo in this line: */166 for( j = 1; cmd[j]; j ++ ); j --;167 168 if( j < commands[i].required_parameters )169 break;170 171 165 if( commands[i].flags & IPC_CMD_TO_CHILDREN ) 172 166 ipc_to_children( cmd ); … … 174 168 commands[i].execute( data, cmd ); 175 169 176 break;170 return; 177 171 } 178 172 }
Note: See TracChangeset
for help on using the changeset viewer.