From 2875d385587c4e9fd7752d849f4ae4ba78716e65 Mon Sep 17 00:00:00 2001 From: jerenkrantz Date: Sat, 31 Jul 2004 22:36:03 +0000 Subject: 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 --- file_io/netware/filestat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'file_io/netware/filestat.c') 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; } -- cgit v1.2.1