1
- /*
1
+ /*
2
2
+----------------------------------------------------------------------+
3
3
| PHP version 4.0 |
4
4
+----------------------------------------------------------------------+
@@ -287,7 +287,7 @@ PS_SERIALIZER_ENCODE_FUNC(wddx)
287
287
return SUCCESS ;
288
288
}
289
289
290
- PS_SERIALIZER_DECODE_FUNC (wddx )
290
+ PS_SERIALIZER_DECODE_FUNC (wddx )
291
291
{
292
292
zval * retval ;
293
293
zval * * ent ;
@@ -436,11 +436,11 @@ static void _php_session_save_current_state(PSLS_D)
436
436
}
437
437
438
438
static char * month_names [] = {
439
- "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" ,
439
+ "Jan" , "Feb" , "Mar" , "Apr" , "May" , "Jun" ,
440
440
"Jul" , "Aug" , "Sep" , "Oct" , "Nov" , "Dec"
441
441
};
442
442
443
- static char * week_days [] = {
443
+ static char * week_days [] = {
444
444
"Sun" , "Mon" , "Tue" , "Wed" , "Thu" , "Fri" , "Sat" , "Sun"
445
445
};
446
446
@@ -660,7 +660,7 @@ static void _php_session_start(PSLS_D)
660
660
http://yoursite/<session-name>=<session-id>/script.php */
661
661
662
662
if (!PS (id ) &&
663
- zend_hash_find (& EG (symbol_table ), "REQUEST_URI" ,
663
+ zend_hash_find (& EG (symbol_table ), "REQUEST_URI" ,
664
664
sizeof ("REQUEST_URI" ), (void * * ) & data ) == SUCCESS &&
665
665
(* data )-> type == IS_STRING &&
666
666
(p = strstr ((* data )-> value .str .val , PS (session_name ))) &&
@@ -675,7 +675,7 @@ static void _php_session_start(PSLS_D)
675
675
/* check whether the current request was referred to by
676
676
an external site which invalidates the previously found id */
677
677
678
- if (PS (id ) &&
678
+ if (PS (id ) &&
679
679
PS (extern_referer_chk )[0 ] != '\0' &&
680
680
zend_hash_find (& EG (symbol_table ), "HTTP_REFERER" ,
681
681
sizeof ("HTTP_REFERER" ), (void * * ) & data ) == SUCCESS &&
@@ -720,7 +720,7 @@ static void _php_session_start(PSLS_D)
720
720
if (PS (mod_data ) && PS (gc_probability ) > 0 ) {
721
721
srand (time (NULL ));
722
722
nrand = (int ) (100.0 * rand ()/RAND_MAX );
723
- if (nrand < PS (gc_probability ))
723
+ if (nrand < PS (gc_probability ))
724
724
PS (mod )-> gc (& PS (mod_data ), PS (gc_maxlifetime ));
725
725
}
726
726
}
0 commit comments