summaryrefslogtreecommitdiff
path: root/file_io/netware/filestat.c
diff options
context:
space:
mode:
authorjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2004-07-31 22:36:03 +0000
committerjerenkrantz <jerenkrantz@13f79535-47bb-0310-9956-ffa450edef68>2004-07-31 22:36:03 +0000
commit2875d385587c4e9fd7752d849f4ae4ba78716e65 (patch)
tree45cb3c540f116bcbe9ab9ec53f5b20d0fbf11722 /file_io/netware/filestat.c
parent2c4244f0f67edc1959e5355f9abf7071625cb237 (diff)
downloadlibapr-2875d385587c4e9fd7752d849f4ae4ba78716e65.tar.gz
Eliminate APR_STATUS_IS_SUCCESS macro.
Reviewed by (conceptually): Ryan, Greg, Fitz git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@65292 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/netware/filestat.c')
-rw-r--r--file_io/netware/filestat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file_io/netware/filestat.c b/file_io/netware/filestat.c
index ef393275b..5c43bb937 100644
--- a/file_io/netware/filestat.c
+++ b/file_io/netware/filestat.c
@@ -123,7 +123,7 @@ APR_DECLARE(apr_status_t) apr_file_attrs_set(const char *fname,
return APR_SUCCESS;
status = apr_stat(&finfo, fname, APR_FINFO_PROT, pool);
- if (!APR_STATUS_IS_SUCCESS(status))
+ if (status)
return status;
/* ### TODO: should added bits be umask'd? */
@@ -352,7 +352,7 @@ APR_DECLARE(apr_status_t) apr_file_mtime_set(const char *fname,
apr_finfo_t finfo;
status = apr_stat(&finfo, fname, APR_FINFO_ATIME, pool);
- if (!APR_STATUS_IS_SUCCESS(status)) {
+ if (status) {
return status;
}