httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/test ab_apr.c
Date Mon, 24 Apr 2000 13:10:47 GMT
gstein      00/04/24 06:10:47

  Modified:    src/lib/apr/test ab_apr.c
  Log:
  ap_canonical_err() return APR_*. use that for the test.
  
  Revision  Changes    Path
  1.27      +2 -2      apache-2.0/src/lib/apr/test/ab_apr.c
  
  Index: ab_apr.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/ab_apr.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- ab_apr.c	2000/04/23 13:22:08	1.26
  +++ ab_apr.c	2000/04/24 13:10:46	1.27
  @@ -535,13 +535,13 @@
       r = sizeof(buffer);
       ap_setsocketopt(c->aprsock, APR_SO_TIMEOUT, aprtimeout);
       status = ap_recv(c->aprsock, buffer, &r);
  -    if (r == 0 || (status != 0 && ap_canonical_error(status) != EAGAIN)) {
  +    if (r == 0 || (status != 0 && ap_canonical_error(status) != APR_EAGAIN)) {
           good++;
           close_connection(c);
           return;
       }
   
  -    if (ap_canonical_error(status) == EAGAIN)
  +    if (ap_canonical_error(status) == APR_EAGAIN)
           return;
   
       c->read += r;
  
  
  

Mime
View raw message