Difference for socket/metaserver.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_metaserver_c =   * static char *rcsid_metaserver_c =
  *    "$Id: metaserver.c,v 1.4 2000/11/26 03:48:03 cvs Exp $";   *    "$Id: metaserver.c,v 1.5 2000/11/26 04:56:05 cvs Exp $";
  */   */
   
 /*  /*
Line 33
 
Line 33
   
 #include <global.h>  #include <global.h>
 #include <version.h>  #include <version.h>
 #include <patchlevel.h>  
   
 static int metafd=-1;  static int metafd=-1;
 static struct sockaddr_in sock;  static struct sockaddr_in sock;
Line 107
 
Line 106
      */       */
     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|%s", settings.meta_host, num_players, VERSION, PATCH,       sprintf(data,"%s|%d|%s|%s", settings.meta_host, num_players, VERSION,
      settings.meta_comment);       settings.meta_comment);
     if (sendto(metafd, data, strlen(data), 0, &sock, sizeof(sock))<0) {      if (sendto(metafd, data, strlen(data), 0, &sock, sizeof(sock))<0) {
  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.4 
line(s) changed
 line(s) added in v.1.5

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