version 1.7 | version 1.8 | |||
---|---|---|---|---|
|
| |||
/* | /* | |||
* static char *rcsid_c_new_c = | * static char *rcsid_c_new_c = | |||
* "$Id: c_new.c,v 1.7 2003/10/21 17:16:29 ryo_saeba Exp $"; | * "$Id: c_new.c,v 1.8 2005/01/16 11:31:38 tchize Exp $"; | |||
*/ | */ | |||
/* | /* | |||
|
| |||
pl->contr->has_hit=0; | pl->contr->has_hit=0; | |||
/* | ||||
* remove trailing spaces from commant | ||||
*/ | ||||
cp=command+strlen(command)-1; | ||||
while ( (cp>=command) && (*cp==' ')){ | ||||
*cp='\0'; | ||||
cp--; | ||||
} | ||||
cp=strchr(command, ' '); | cp=strchr(command, ' '); | |||
if (cp) { | if (cp) { | |||
*(cp++) ='\0'; | *(cp++) ='\0'; |
Legend:
|