From 3d8e54f3a2f72eeaf22a5ffd66a7e5465f60127c Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sun, 19 Jan 2003 00:45:53 +0000 Subject: Changed php_error to php_error_docref. --- ext/session/session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/session/session.c') diff --git a/ext/session/session.c b/ext/session/session.c index a7d30ea65e..c7c5c835f5 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -631,7 +631,7 @@ char *php_session_create_id(PS_CREATE_SID_ARGS) digest_len = 20; break; default: - php_error(E_ERROR, "Invalid session hash function"); + php_error_docref(NULL TSRMLS_CC, E_ERROR, "Invalid session hash function"); efree(buf); return NULL; } @@ -676,7 +676,7 @@ char *php_session_create_id(PS_CREATE_SID_ARGS) || PS(hash_bits_per_character) > 6) { PS(hash_bits_per_character) = 4; - php_error(E_WARNING, "The ini setting hash_bits_per_character is out of range (should be 4, 5, or 6) - using 4 for now"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "The ini setting hash_bits_per_character is out of range (should be 4, 5, or 6) - using 4 for now"); } j = bin_to_readable(digest, digest_len, buf, PS(hash_bits_per_character)) - buf; -- cgit v1.2.1