httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject cvs commit: httpd-2.0/server util.c
Date Fri, 01 Nov 2002 18:01:27 GMT
jerenkrantz    2002/11/01 10:01:27

  Modified:    server   util.c
  Log:
  Use APR_STATUS_IS_EOF rather than a check against APR_EOF
  
  Revision  Changes    Path
  1.133     +1 -1      httpd-2.0/server/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/util.c,v
  retrieving revision 1.132
  retrieving revision 1.133
  diff -u -u -r1.132 -r1.133
  --- util.c	1 Nov 2002 17:57:47 -0000	1.132
  +++ util.c	1 Nov 2002 18:01:27 -0000	1.133
  @@ -884,7 +884,7 @@
       apr_file_t *cfp = (apr_file_t *) param;
       apr_status_t rv;
       rv = apr_file_gets(buf, bufsiz, cfp);
  -    if (rv == APR_SUCCESS || (rv == APR_EOF && strcmp(buf, "")))
  +    if (rv == APR_SUCCESS || (APR_STATUS_IS_EOF(rv) && strcmp(buf, "")))
           return buf;
       return NULL;
   }
  
  
  

Mime
View raw message