apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject cvs commit: apr/test sockchild.c
Date Mon, 15 Mar 2004 02:14:58 GMT
rbb         2004/03/14 18:14:58

  Modified:    test     sockchild.c
  Log:
  Fix compile warnings in sockchild.c on Mac OS X
  Submitted By:  Garrett Rooney <rooneg@electricjellyfish.net>
  
  Revision  Changes    Path
  1.2       +2 -2      apr/test/sockchild.c
  
  Index: sockchild.c
  ===================================================================
  RCS file: /home/cvs/apr/test/sockchild.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sockchild.c	14 Mar 2004 20:30:20 -0000	1.1
  +++ sockchild.c	15 Mar 2004 02:14:58 -0000	1.2
  @@ -52,7 +52,7 @@
           
       if (!strcmp("read", argv[1])) {
           char datarecv[STRLEN];
  -        int length = STRLEN;
  +        apr_size_t length = STRLEN;
   
           apr_status_t rv = apr_socket_recv(sock, datarecv, &length);
           apr_socket_close(sock);
  @@ -67,7 +67,7 @@
           exit(length);
       }
       else if (!strcmp("write", argv[1])) {
  -        int length = strlen(DATASTR);
  +        apr_size_t length = strlen(DATASTR);
           apr_socket_send(sock, DATASTR, &length);
   
           apr_socket_close(sock);
  
  
  

Mime
View raw message