File tree 1 file changed +6
-5
lines changed 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,8 @@ zend_module_entry session_module_entry = {
142
142
#define ENCODE_VARS \
143
143
char *key; \
144
144
ulong num_key; \
145
- zval **struc \
146
- PSLS_FETCH(); \
147
- ELS_FETCH();
145
+ zval **struc; \
146
+ ELS_FETCH()
148
147
149
148
#define ENCODE_LOOP (code ) \
150
149
for(zend_hash_internal_pointer_reset(&PS(vars)); \
@@ -189,7 +188,7 @@ PS_SERIALIZER_ENCODE_FUNC(php)
189
188
{
190
189
zval * buf ;
191
190
char strbuf [MAX_STR + 1 ];
192
- ENCODE_VARS
191
+ ENCODE_VARS ;
193
192
194
193
buf = ecalloc (sizeof (* buf ), 1 );
195
194
buf -> type = IS_STRING ;
@@ -252,7 +251,7 @@ PS_SERIALIZER_DECODE_FUNC(php)
252
251
PS_SERIALIZER_ENCODE_FUNC (wddx )
253
252
{
254
253
wddx_packet * packet ;
255
- ENCODE_VARS
254
+ ENCODE_VARS ;
256
255
257
256
packet = _php_wddx_constructor ();
258
257
if (!packet ) return FAILURE ;
@@ -343,6 +342,8 @@ static char *_php_session_encode(int *newlen PSLS_DC)
343
342
344
343
static void _php_session_decode (const char * val , int vallen PSLS_DC )
345
344
{
345
+ PLS_FETCH ();
346
+
346
347
if (PG (track_vars ))
347
348
php_session_track_init ();
348
349
PS (serializer )-> decode (val , vallen PSLS_CC );
You can’t perform that action at this time.
0 commit comments