[PHP-DEV] CVS update: php3/functions From: zeev (php-dev <email protected>)
Date: 04/29/98

Date: Wednesday April 29, 1998 @ 22:02
Author: zeev

Update of /repository/php3/functions
In directory asf:/tmp/cvs-serv20975/functions

Modified Files:
        file.c
Log Message:
warning fix

Index: php3/functions/file.c
diff -c php3/functions/file.c:1.161 php3/functions/file.c:1.162
*** php3/functions/file.c:1.161 Wed Apr 29 21:48:05 1998
--- php3/functions/file.c Wed Apr 29 22:02:49 1998
***************
*** 26,32 ****
     | Authors: Rasmus Lerdorf <rasmus <email protected>> |
     +----------------------------------------------------------------------+
   */
! /* $Id: file.c,v 1.161 1998/04/30 01:48:05 zeev Exp $ */
  #ifdef THREAD_SAFE
  #include "tls.h"
  #endif
--- 26,32 ----
     | Authors: Rasmus Lerdorf <rasmus <email protected>> |
     +----------------------------------------------------------------------+
   */
! /* $Id: file.c,v 1.162 1998/04/30 02:02:49 zeev Exp $ */
  #ifdef THREAD_SAFE
  #include "tls.h"
  #endif
***************
*** 477,484 ****
          }
          t.tv_sec = timeout->value.lval;
          t.tv_usec = 0;
! setsockopt(*sock,SOL_SOCKET,SO_SNDTIMEO,&t,sizeof(struct timeval));
! setsockopt(*sock,SOL_SOCKET,SO_RCVTIMEO,&t,sizeof(struct timeval));
          RETURN_TRUE;
  }
  #endif
--- 477,484 ----
          }
          t.tv_sec = timeout->value.lval;
          t.tv_usec = 0;
! setsockopt(*sock,SOL_SOCKET,SO_SNDTIMEO,(void *) &t,sizeof(struct timeval));
! setsockopt(*sock,SOL_SOCKET,SO_RCVTIMEO,(void *) &t,sizeof(struct timeval));
          RETURN_TRUE;
  }
  #endif