summaryrefslogtreecommitdiff
path: root/ext/mssql
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-01-18 21:31:11 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-01-18 21:31:11 +0000
commitaebb39b0143f6f49edafc6159e9b7a3345833618 (patch)
treeed4f68fa425d205828d78a8a81e688d381a02413 /ext/mssql
parentb2ecf477550ab799c82d65e9eddd5260865556bf (diff)
downloadphp-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.c2
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)
{