From aebb39b0143f6f49edafc6159e9b7a3345833618 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sat, 18 Jan 2003 21:31:11 +0000 Subject: Changed php_error to php_error_docref. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks to Marcus Börger for writing a script that significantly simplifies this process. --- ext/mssql/php_mssql.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mssql/php_mssql.c') diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index 72b639b50c..b44deff3c6 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -102,7 +102,7 @@ ZEND_DECLARE_MODULE_GLOBALS(mssql) ZEND_GET_MODULE(mssql) #endif -#define CHECK_LINK(link) { if (link==-1) { php_error(E_WARNING, "%s(): A link to the server could not be established", get_active_function_name(TSRMLS_C)); RETURN_FALSE; } } +#define CHECK_LINK(link) { if (link==-1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "A link to the server could not be established"); RETURN_FALSE; } } static PHP_INI_DISP(display_text_size) { -- cgit v1.2.1