Difference for socket/init.c from version 1.31 to 1.32


version 1.31 version 1.32
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_init_c =   * static char *rcsid_init_c =
  *    "$Id: init.c,v 1.31 2003/12/02 18:51:44 ryo_saeba Exp $";   *    "$Id: init.c,v 1.32 2003/12/14 16:28:47 ryo_saeba Exp $";
  */   */
   
 /*  /*
Line 237
 
Line 237
         defined(__sun__) || defined(linux) || defined(SVR4) || defined(__FreeBSD__) || \          defined(__sun__) || defined(linux) || defined(SVR4) || defined(__FreeBSD__) || \
  defined(__OpenBSD__) || defined(WIN32) /* ---win32 add this here */   defined(__OpenBSD__) || defined(WIN32) /* ---win32 add this here */
     {      {
   #ifdef WIN32
       char tmp = 1;
   #else
  int tmp =1;   int tmp =1;
   #endif
   
  if(setsockopt(init_sockets[0].fd,SOL_SOCKET,SO_REUSEADDR, &tmp, sizeof(tmp))) {   if(setsockopt(init_sockets[0].fd,SOL_SOCKET,SO_REUSEADDR, &tmp, sizeof(tmp))) {
      perror("error on setsockopt REUSEADDR");       perror("error on setsockopt REUSEADDR");


Legend:
line(s) removed in v.1.31 
line(s) changed
 line(s) added in v.1.32

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