From 63d3f0b844b3a5f1c94be3c97bca29235dc2b3fc Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Tue, 19 Aug 2014 08:07:31 +0200 Subject: basic macro replacements, all at once --- ext/dba/php_dba.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/dba/php_dba.h') diff --git a/ext/dba/php_dba.h b/ext/dba/php_dba.h index d4d4c62c4a..7276ba6942 100644 --- a/ext/dba/php_dba.h +++ b/ext/dba/php_dba.h @@ -126,7 +126,7 @@ typedef struct dba_handler { DBA_SYNC_FUNC(x); \ DBA_INFO_FUNC(x) -#define VALLEN(p) Z_STRVAL_PP(p), Z_STRLEN_PP(p) +#define VALLEN(p) Z_STRVAL_PP(p), Z_STRSIZE_PP(p) PHP_FUNCTION(dba_open); PHP_FUNCTION(dba_popen); -- cgit v1.2.1