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


version 1.3 version 1.4
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_metaserver_c =   * static char *rcsid_metaserver_c =
  *    "$Id: metaserver.c,v 1.3 2000/11/18 04:27:49 cvs Exp $";   *    "$Id: metaserver.c,v 1.4 2000/11/26 03:48:03 cvs Exp $";
  */   */
   
 /*  /*
Line 68
 
Line 68
     }      }
     sock.sin_family = AF_INET;      sock.sin_family = AF_INET;
     sock.sin_port = htons(settings.meta_port);      sock.sin_port = htons(settings.meta_port);
   #ifndef __FreeBSD__
       /* Freebsd seems to have a problem in that the sendto in metaserver_update will
        * fail on a connected socket.  So don't connect the socket.
        */
     if (connect(metafd, &sock, sizeof(sock))<0) {      if (connect(metafd, &sock, sizeof(sock))<0) {
  LOG(llevDebug,"metaserver_init: Unable to connect to metaserver, err %d\n", errno);   LOG(llevDebug,"metaserver_init: Unable to connect to metaserver, err %d\n", errno);
     }      }
   #endif
     /* No hostname specified, so lets try to figure one out */      /* No hostname specified, so lets try to figure one out */
     if (settings.meta_host[0]==0) {      if (settings.meta_host[0]==0) {
  char hostname[MAX_BUF], domain[MAX_BUF];   char hostname[MAX_BUF], domain[MAX_BUF];


Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4

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