version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_metaserver_c = | | * static char *rcsid_metaserver_c = |
* "$Id: metaserver.c,v 1.12 2002/07/15 04:25:40 mwedel Exp $"; | | * "$Id: metaserver.c,v 1.13 2002/09/28 07:19:40 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* but don't have a player, etc. This operation below should not be that | | * but don't have a player, etc. This operation below should not be that |
* costly. | | * costly. |
*/ | | */ |
for (pl=first_player; pl!=NULL; pl=pl->next) num_players++; | | for (pl=first_player; pl!=NULL; pl=pl->next) { |
| | if (!pl->hidden) num_players++; |
| | } |
| | |
sprintf(data,"%s|%d|%s|%s|%d|%d|%ld", settings.meta_host, num_players, VERSION, | | sprintf(data,"%s|%d|%s|%s|%d|%d|%ld", settings.meta_host, num_players, VERSION, |
settings.meta_comment, cst_tot.ibytes, cst_tot.obytes, | | settings.meta_comment, cst_tot.ibytes, cst_tot.obytes, |