You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Karl Fogel <kf...@galois.collab.net> on 2000/11/10 21:48:41 UTC

missing parameter in apr_errno.h (patch included)

2000-11-10  Karl Fogel  <kf...@collab.net>

	* apr_errno.h (APR_STATUS_IS_SUCCESS): take parameter, so
	expansion does not result in an undeclared variable.


--- include/apr_errno.h	Fri Nov 10 15:43:53 2000
+++ include/apr_errno.h	Fri Nov 10 15:43:35 2000
@@ -360,7 +360,7 @@
  */
 #define APR_OS2_STATUS(e) (APR_FROM_OS_ERROR(e))
 
-#define APR_STATUS_IS_SUCCESS           ((s) == APR_SUCCESS \
+#define APR_STATUS_IS_SUCCESS(s)        ((s) == APR_SUCCESS \
                 || (s) == APR_OS_START_SYSERR + NO_ERROR)
 
 /* APR CANONICAL ERROR TESTS */