[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

missing parameter in apr_errno.h (patch included)

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-11-10 22:48:41 CET

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 */
Received on Sat Oct 21 14:36:14 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.