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


version 1.9 version 1.10
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_metaserver_c =   * static char *rcsid_metaserver_c =
  *    "$Id: metaserver.c,v 1.9 2001/05/25 03:59:36 mwedel Exp $";   *    "$Id: metaserver.c,v 1.10 2001/05/29 04:41:54 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|%d|%d|%d", 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,
      time(NULL) - cst_tot.time_start);       (long)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.9 
line(s) changed
 line(s) added in v.1.10

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