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


version 1.10 version 1.11
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_metaserver_c =   * static char *rcsid_metaserver_c =
  *    "$Id: metaserver.c,v 1.10 2001/05/29 04:41:54 mwedel Exp $";   *    "$Id: metaserver.c,v 1.11 2001/09/24 10:47:30 jbontje Exp $";
  */   */
   
 /*  /*
Line 131
 
Line 131
     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,
      (long)time(NULL) - cst_tot.time_start);       (long)time(NULL) - cst_tot.time_start);
 #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  
     if (sendto(metafd, data, strlen(data), 0, &sock, sizeof(sock))<0) {  
 #endif  
  LOG(llevDebug,"metaserver_update: sendto failed, err = %d\n", errno);   LOG(llevDebug,"metaserver_update: sendto failed, err = %d\n", errno);
     }      }
 }  }


Legend:
line(s) removed in v.1.10 
line(s) changed
 line(s) added in v.1.11

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