cvs: /php4/ext/session session.c
| From: | Sascha Schumann | Date: | Sun, 12 Dec 1999 14:23:25 +0000 |
| Subject: | cvs: /php4/ext/session session.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7823@lists.php.net to get a copy of this message | ||
sas Sun Dec 12 09:23:25 1999 EDT
Modified files:
/php4/ext/session session.c
Log:
Remove trailing white-spaces
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.81 php4/ext/session/session.c:1.82
--- php4/ext/session/session.c:1.81 Sun Dec 12 09:16:55 1999
+++ php4/ext/session/session.c Sun Dec 12 09:22:55 1999
@@ -1,4 +1,4 @@
-/*
+/*
+----------------------------------------------------------------------+
| PHP version 4.0 |
+----------------------------------------------------------------------+
@@ -287,7 +287,7 @@
return SUCCESS;
}
-PS_SERIALIZER_DECODE_FUNC(wddx)
+PS_SERIALIZER_DECODE_FUNC(wddx)
{
zval *retval;
zval **ent;
@@ -436,11 +436,11 @@
}
static char *month_names[] = {
- "Jan", "Feb", "Mar", "Apr", "May",
"Jun",
+ "Jan", "Feb", "Mar", "Apr", "May",
"Jun",
"Jul", "Aug", "Sep", "Oct", "Nov",
"Dec"
};
-static char *week_days[] = {
+static char *week_days[] = {
"Sun", "Mon", "Tue", "Wed", "Thu",
"Fri", "Sat", "Sun"
};
@@ -660,7 +660,7 @@
http://yoursite/<session-name>=<session-id>/script.php
*/
if(!PS(id) &&
- zend_hash_find(&EG(symbol_table), "REQUEST_URI",
+ zend_hash_find(&EG(symbol_table), "REQUEST_URI",
sizeof("REQUEST_URI"), (void **) &data) == SUCCESS &&
(*data)->type == IS_STRING &&
(p = strstr((*data)->value.str.val, PS(session_name))) &&
@@ -675,7 +675,7 @@
/* check whether the current request was referred to by
an external site which invalidates the previously found id */
- if(PS(id) &&
+ if(PS(id) &&
PS(extern_referer_chk)[0] != '\0' &&
zend_hash_find(&EG(symbol_table), "HTTP_REFERER",
sizeof("HTTP_REFERER"), (void **) &data) == SUCCESS &&
@@ -720,7 +720,7 @@
if(PS(mod_data) && PS(gc_probability) > 0) {
srand(time(NULL));
nrand = (int) (100.0*rand()/RAND_MAX);
- if(nrand < PS(gc_probability))
+ if(nrand < PS(gc_probability))
PS(mod)->gc(&PS(mod_data), PS(gc_maxlifetime));
}
}