Skip to content

Commit 1627a57

Browse files
author
Sascha Schumann
committed
Remove trailing white-spaces
1 parent 591cdd1 commit 1627a57

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ext/session/session.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*
22
+----------------------------------------------------------------------+
33
| PHP version 4.0 |
44
+----------------------------------------------------------------------+
@@ -287,7 +287,7 @@ PS_SERIALIZER_ENCODE_FUNC(wddx)
287287
return SUCCESS;
288288
}
289289

290-
PS_SERIALIZER_DECODE_FUNC(wddx)
290+
PS_SERIALIZER_DECODE_FUNC(wddx)
291291
{
292292
zval *retval;
293293
zval **ent;
@@ -436,11 +436,11 @@ static void _php_session_save_current_state(PSLS_D)
436436
}
437437

438438
static char *month_names[] = {
439-
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
439+
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
440440
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
441441
};
442442

443-
static char *week_days[] = {
443+
static char *week_days[] = {
444444
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"
445445
};
446446

@@ -660,7 +660,7 @@ static void _php_session_start(PSLS_D)
660660
http://yoursite/<session-name>=<session-id>/script.php */
661661

662662
if(!PS(id) &&
663-
zend_hash_find(&EG(symbol_table), "REQUEST_URI",
663+
zend_hash_find(&EG(symbol_table), "REQUEST_URI",
664664
sizeof("REQUEST_URI"), (void **) &data) == SUCCESS &&
665665
(*data)->type == IS_STRING &&
666666
(p = strstr((*data)->value.str.val, PS(session_name))) &&
@@ -675,7 +675,7 @@ static void _php_session_start(PSLS_D)
675675
/* check whether the current request was referred to by
676676
an external site which invalidates the previously found id */
677677

678-
if(PS(id) &&
678+
if(PS(id) &&
679679
PS(extern_referer_chk)[0] != '\0' &&
680680
zend_hash_find(&EG(symbol_table), "HTTP_REFERER",
681681
sizeof("HTTP_REFERER"), (void **) &data) == SUCCESS &&
@@ -720,7 +720,7 @@ static void _php_session_start(PSLS_D)
720720
if(PS(mod_data) && PS(gc_probability) > 0) {
721721
srand(time(NULL));
722722
nrand = (int) (100.0*rand()/RAND_MAX);
723-
if(nrand < PS(gc_probability))
723+
if(nrand < PS(gc_probability))
724724
PS(mod)->gc(&PS(mod_data), PS(gc_maxlifetime));
725725
}
726726
}

0 commit comments

Comments
 (0)