diff options
author | Sterling Hughes <sterling@php.net> | 2000-03-30 20:02:21 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2000-03-30 20:02:21 +0000 |
commit | ec9aae474aad2e9e75133717043f2222f536de85 (patch) | |
tree | f49291becf61b589fc7d259e5635e39bd949f673 /ext/session/session.c | |
parent | 27b736a19245e872c90a8a50668fa1a82e933496 (diff) | |
download | php-git-ec9aae474aad2e9e75133717043f2222f536de85.tar.gz |
#Stylistic changes.
Diffstat (limited to 'ext/session/session.c')
-rw-r--r-- | ext/session/session.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 45ef383b2f..b3b09e8007 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -876,8 +876,8 @@ PHP_FUNCTION(session_set_cookie_params) /* {{{ 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 @@ PHP_FUNCTION(session_get_cookie_params) { 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]) |