diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-18 21:31:11 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-18 21:31:11 +0000 |
commit | aebb39b0143f6f49edafc6159e9b7a3345833618 (patch) | |
tree | ed4f68fa425d205828d78a8a81e688d381a02413 /ext/mssql | |
parent | b2ecf477550ab799c82d65e9eddd5260865556bf (diff) | |
download | php-git-aebb39b0143f6f49edafc6159e9b7a3345833618.tar.gz |
Changed php_error to php_error_docref.
Thanks to Marcus Börger for writing a script that significantly simplifies
this process.
Diffstat (limited to 'ext/mssql')
-rw-r--r-- | ext/mssql/php_mssql.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |