httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/dav/fs repos.c
Date Thu, 12 Apr 2001 13:32:33 GMT
wrowe       01/04/12 06:32:33

  Modified:    modules/dav/fs repos.c
  Log:
    It's critical that apps use the APR_STATUS_IS_EFOO() canonicalization
    wrappers, or some platforms errors are missed.
  
  Revision  Changes    Path
  1.54      +1 -1      httpd-2.0/modules/dav/fs/repos.c
  
  Index: repos.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/dav/fs/repos.c,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- repos.c	2001/03/14 02:32:03	1.53
  +++ repos.c	2001/04/12 13:32:33	1.54
  @@ -868,7 +868,7 @@
       apr_status_t status;
   
       status = apr_file_write_full(stream->f, buf, bufsize, NULL);
  -    if (status == APR_ENOSPC) {
  +    if (APR_STATUS_IS_ENOSPC(status)) {
           return dav_new_error(stream->p, HTTP_INSUFFICIENT_STORAGE, 0,
                                "There is not enough storage to write to "
                                "this resource.");
  
  
  

Mime
View raw message