apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/test testsock.c
Date Thu, 18 Mar 2004 20:45:03 GMT
jorton      2004/03/18 12:45:03

  Modified:    test     testsock.c
  Log:
  * test/testsock.c (test_addr_info): Pass NULL as hostname rather than
  an apr_interface_e.
  
  Revision  Changes    Path
  1.32      +2 -2      apr/test/testsock.c
  
  Index: testsock.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testsock.c,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -w -d -u -r1.31 -r1.32
  --- testsock.c	15 Mar 2004 02:43:48 -0000	1.31
  +++ testsock.c	18 Mar 2004 20:45:03 -0000	1.32
  @@ -63,7 +63,7 @@
       apr_status_t rv;
       apr_sockaddr_t *sa;
   
  -    rv = apr_sockaddr_info_get(&sa, APR_LOCAL, APR_UNSPEC, 80, 0, p);
  +    rv = apr_sockaddr_info_get(&sa, NULL, APR_UNSPEC, 80, 0, p);
       apr_assert_success(tc, "Problem generating sockaddr", rv);
   
       rv = apr_sockaddr_info_get(&sa, "127.0.0.1", APR_UNSPEC, 80, 0, p);
  @@ -77,7 +77,7 @@
       apr_sockaddr_t *sa;
       apr_socket_t *sock;
   
  -    rv = apr_sockaddr_info_get(&sa, APR_LOCAL, APR_INET, 8021, 0, p);
  +    rv = apr_sockaddr_info_get(&sa, NULL, APR_INET, 8021, 0, p);
       apr_assert_success(tc, "Problem generating sockaddr", rv);
   
       rv = apr_socket_create(&sock, sa->family, SOCK_STREAM, APR_PROTO_TCP, p);
  
  
  

Mime
View raw message