From 26283a3bcc454850bd2c77179d64b02c0f23aeae Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Tue, 6 Feb 2001 04:15:50 +0000 Subject: [PATCH] Preserve API compatibility. --- ext/wddx/php_wddx_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/wddx/php_wddx_api.h b/ext/wddx/php_wddx_api.h index 09ec81e0e2..ffe4d5f23b 100644 --- a/ext/wddx/php_wddx_api.h +++ b/ext/wddx/php_wddx_api.h @@ -61,6 +61,6 @@ void php_wddx_packet_end(wddx_packet *packet); void php_wddx_serialize_var(wddx_packet *packet, zval *var, char *name); int php_wddx_deserialize_ex(char *, int, zval *return_value); -char *php_wddx_gather(wddx_packet *packet); +#define php_wddx_gather(packet) estrndup(packet->c, packet->len) #endif /* PHP_WDDX_API_H */ -- 2.40.0