From f9547241d56b4b9b5ecc81600e21ab55854bc7ba Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Thu, 30 Mar 2000 22:38:50 +0000 Subject: - Fix another bug in session.c - Start using the new PHP_GETCWD() and co. macros --- ext/session/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/session/session.c b/ext/session/session.c index ef7201dd9a..0c268ede5d 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -889,7 +889,7 @@ PHP_FUNCTION(session_get_cookie_params) RETURN_FALSE; } - add_assoc_string(return_value, "lifetime", PS(cookie_lifetime), 1); + add_assoc_long(return_value, "lifetime", PS(cookie_lifetime)); add_assoc_string(return_value, "path", PS(cookie_path), 1); add_assoc_string(return_value, "domain", PS(cookie_domain), 1); } -- cgit v1.2.1