Difference for socket/metaserver.c from version 1.8 to 1.9


version 1.8 version 1.9
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_metaserver_c =   * static char *rcsid_metaserver_c =
  *    "$Id: metaserver.c,v 1.8 2001/04/06 19:08:13 michtoen Exp $";   *    "$Id: metaserver.c,v 1.9 2001/05/25 03:59:36 mwedel Exp $";
  */   */
   
 /*  /*
Line 128
 
Line 128
      */       */
     for (pl=first_player; pl!=NULL; pl=pl->next) num_players++;      for (pl=first_player; pl!=NULL; pl=pl->next) num_players++;
   
     sprintf(data,"%s|%d|%s|%s", settings.meta_host, num_players, VERSION,       sprintf(data,"%s|%d|%s|%s|%d|%d|%d", settings.meta_host, num_players, VERSION,
      settings.meta_comment);       settings.meta_comment, cst_tot.ibytes, cst_tot.obytes,
        time(NULL) - cst_tot.time_start);
 #ifdef WIN32 /* ---win32 metaserver_init(): this removes a warning  */  #ifdef WIN32 /* ---win32 metaserver_init(): this removes a warning  */
     if (sendto(metafd, data, strlen(data), 0, (struct sockaddr *)&sock, sizeof(sock))<0) {      if (sendto(metafd, data, strlen(data), 0, (struct sockaddr *)&sock, sizeof(sock))<0) {
 #else  #else


Legend:
line(s) removed in v.1.8 
line(s) changed
 line(s) added in v.1.9

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