version 1.69 | | version 1.70 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: request.c,v 1.69 2005/05/06 21:10:27 tchize Exp $"; | | * "$Id: request.c,v 1.70 2005/08/17 08:17:31 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
command[nextinfo-info]='\0'; | | command[nextinfo-info]='\0'; |
/* 2. Interpret info*/ | | /* 2. Interpret info*/ |
i = sscanf(command,"%d",&flag); | | i = sscanf(command,"%d",&flag); |
if ( (i==1) && (i>0) && (i<=MSG_TYPE_LAST)) | | if ( (i==1) && (flag>0) && (flag<=MSG_TYPE_LAST)) |
ns->supported_readables|=(1<<flag); | | ns->supported_readables|=(1<<flag); |
/*3. Next info*/ | | /*3. Next info*/ |
} | | } |