rbb 00/11/10 16:12:40
Modified: src/lib/apr/include apr_errno.h
Log:
Fix the rest of the APR_STATUS_IS_SUCCESS definitions.
Submitted by: Karl Fogel <[EMAIL PROTECTED]>
Revision Changes Path
1.43 +2 -2 apache-2.0/src/lib/apr/include/apr_errno.h
Index: apr_errno.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_errno.h,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- apr_errno.h 2000/11/11 00:08:03 1.42
+++ apr_errno.h 2000/11/11 00:12:39 1.43
@@ -448,7 +448,7 @@
*/
#define apr_get_netos_error() (APR_FROM_OS_ERROR(WSAGetLastError()))
-#define APR_STATUS_IS_SUCCESS ((s) == APR_SUCCESS \
+#define APR_STATUS_IS_SUCCESS(s) ((s) == APR_SUCCESS \
|| (s) == APR_OS_START_SYSERR + ERROR_SUCCESS)
/* APR CANONICAL ERROR TESTS */
@@ -504,7 +504,7 @@
#define apr_get_os_error() (errno)
#define apr_set_os_error(e) (errno = (e))
-#define APR_STATUS_IS_SUCCESS ((s) == APR_SUCCESS)
+#define APR_STATUS_IS_SUCCESS(s) ((s) == APR_SUCCESS)
/* APR CANONICAL ERROR TESTS */
#define APR_STATUS_IS_EACCES(s) ((s) == APR_EACCES)