From: foobar Date: Sun, 13 Feb 2005 07:55:27 +0000 (+0000) Subject: MFB_4_3: cvs diff -r1.84.2.5 -r1.84.2.6 php_session.h X-Git-Tag: RELEASE_0_2_4~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7281cd80821bbadff493af8d6494f2fc5fce7b72;p=php MFB_4_3: cvs diff -r1.84.2.5 -r1.84.2.6 php_session.h --- diff --git a/ext/session/php_session.h b/ext/session/php_session.h index 19ce366f26..7a3fd5a349 100644 --- a/ext/session/php_session.h +++ b/ext/session/php_session.h @@ -214,8 +214,7 @@ PHPAPI void php_session_start(TSRMLS_D); ulong num_key; \ zval **struc; -#define PS_ENCODE_LOOP(code) \ - { \ +#define PS_ENCODE_LOOP(code) do { \ HashTable *_ht = Z_ARRVAL_P(PS(http_session_vars)); \ \ for (zend_hash_internal_pointer_reset(_ht); \ @@ -226,7 +225,7 @@ PHPAPI void php_session_start(TSRMLS_D); code; \ } \ } \ - } + } while(0) PHPAPI ZEND_EXTERN_MODULE_GLOBALS(ps)