Difference for socket/metaserver.c from version 1.12 to 1.13


version 1.12 version 1.13
Line 1
 
Line 1
 /*  /*
  * 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 $";
  */   */
   
 /*  /*
Line 127
 
Line 127
      * 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,


Legend:
line(s) removed in v.1.12 
line(s) changed
 line(s) added in v.1.13

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:36