cvs: /php4/ext/session session.c
| From: | Sterling Hughes | Date: | Thu, 30 Mar 2000 20:02:51 +0000 |
| Subject: | cvs: /php4/ext/session session.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12908@lists.php.net to get a copy of this message | ||
sterling Thu Mar 30 12:02:51 2000 EDT
Modified files:
/php4/ext/session session.c
Log:
#Stylistic changes.
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.123 php4/ext/session/session.c:1.124
--- php4/ext/session/session.c:1.123 Thu Mar 30 10:50:09 2000
+++ php4/ext/session/session.c Thu Mar 30 12:02:21 2000
@@ -876,8 +876,8 @@
/* {{{ proto array session_get_cookie_params()
Return the session cookie parameters */
-
-PHP_FUNCTION(session_get_cookie_params) {
+PHP_FUNCTION(session_get_cookie_params)
+{
PSLS_FETCH();
if (ARG_COUNT(ht) != 0) {
@@ -889,11 +889,10 @@
RETURN_FALSE;
}
- add_assoc_string( return_value, "lifetime", PS(cookie_lifetime) );
- add_assoc_string( return_value, "path", PS(cookie_path) );
- add_assoc_string( return_value, "domain", PS(cookie_domain) );
+ add_assoc_string(return_value, "lifetime", PS(cookie_lifetime));
+ add_assoc_string(return_value, "path", PS(cookie_path));
+ add_assoc_string(return_value, "domain", PS(cookie_domain));
}
-
/* }}} */
/* {{{ proto string session_name([string newname])