httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Fogel <kfo...@galois.collab.net>
Subject missing parameter in apr_errno.h (patch included)
Date Fri, 10 Nov 2000 21:48:41 GMT
2000-11-10  Karl Fogel  <kfogel@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 */

Mime
View raw message