httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/network_io/win32 sockets.c
Date Thu, 02 Nov 2000 03:02:51 GMT
trawick     00/11/01 19:02:50

  Modified:    src/lib/apr/include apr_network_io.h
               src/lib/apr/network_io/beos sockets.c
               src/lib/apr/network_io/os2 sockets.c
               src/lib/apr/network_io/unix sockets.c
               src/lib/apr/network_io/win32 sockets.c
  Log:
  Make 2nd parm of apr_connect() const char * instead of char *.
  
  Note to BeOS fans: apr_connect() is missing a check for hostname != NULL.
  
  Revision  Changes    Path
  1.57      +1 -1      apache-2.0/src/lib/apr/include/apr_network_io.h
  
  Index: apr_network_io.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_network_io.h,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- apr_network_io.h	2000/10/25 18:21:13	1.56
  +++ apr_network_io.h	2000/11/02 03:02:44	1.57
  @@ -212,7 +212,7 @@
    *                 APR assumes that the sockaddr_in in the apr_socket is 
    *                 completely filled out.
    */
  -apr_status_t apr_connect(apr_socket_t *sock, char *hostname);
  +apr_status_t apr_connect(apr_socket_t *sock, const char *hostname);
   
   /**
    * Get name of the machine we are currently connected to.
  
  
  
  1.34      +1 -1      apache-2.0/src/lib/apr/network_io/beos/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/beos/sockets.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- sockets.c	2000/08/06 06:07:20	1.33
  +++ sockets.c	2000/11/02 03:02:45	1.34
  @@ -161,7 +161,7 @@
       return APR_SUCCESS;
   } 
    
  -apr_status_t apr_connect(apr_socket_t *sock, char *hostname) 
  +apr_status_t apr_connect(apr_socket_t *sock, const char *hostname) 
   { 
       struct hostent *hp; 
   
  
  
  
  1.27      +1 -1      apache-2.0/src/lib/apr/network_io/os2/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/os2/sockets.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- sockets.c	2000/08/06 06:07:21	1.26
  +++ sockets.c	2000/11/02 03:02:48	1.27
  @@ -172,7 +172,7 @@
       return APR_SUCCESS;
   }
   
  -apr_status_t apr_connect(apr_socket_t *sock, char *hostname)
  +apr_status_t apr_connect(apr_socket_t *sock, const char *hostname)
   {
       struct hostent *hp;
   
  
  
  
  1.54      +1 -1      apache-2.0/src/lib/apr/network_io/unix/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/unix/sockets.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- sockets.c	2000/08/06 06:07:22	1.53
  +++ sockets.c	2000/11/02 03:02:49	1.54
  @@ -178,7 +178,7 @@
       return APR_SUCCESS;
   }
   
  -apr_status_t apr_connect(apr_socket_t *sock, char *hostname)
  +apr_status_t apr_connect(apr_socket_t *sock, const char *hostname)
   {
       struct hostent *hp;
   
  
  
  
  1.39      +1 -1      apache-2.0/src/lib/apr/network_io/win32/sockets.c
  
  Index: sockets.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/network_io/win32/sockets.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- sockets.c	2000/10/06 17:24:40	1.38
  +++ sockets.c	2000/11/02 03:02:50	1.39
  @@ -212,7 +212,7 @@
       return APR_SUCCESS;
   }
   
  -apr_status_t apr_connect(apr_socket_t *sock, char *hostname)
  +apr_status_t apr_connect(apr_socket_t *sock, const char *hostname)
   {
       struct hostent *hp;
       apr_status_t lasterror;
  
  
  

Mime
View raw message