]> granicus.if.org Git - php/commitdiff
#Stylistic changes.
authorSterling Hughes <sterling@php.net>
Thu, 30 Mar 2000 20:02:21 +0000 (20:02 +0000)
committerSterling Hughes <sterling@php.net>
Thu, 30 Mar 2000 20:02:21 +0000 (20:02 +0000)
ext/session/session.c

index 45ef383b2fb86ff57ceae439e2c12646fcc8a226..b3b09e800785ca02b2ae0e0d9766cc34f5dd2fc2 100644 (file)
@@ -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])