summaryrefslogtreecommitdiff
path: root/ext/pgsql
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 08:24:42 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 08:24:42 +0000
commitc43806f4152c3ff908c7ead039daf5e163700f0e (patch)
tree8e6eb9e2aef084f04a7bfeb7269dd4d5186ac0c4 /ext/pgsql
parent4187439cfffdbb2573453ea41a3c344632405f47 (diff)
downloadphp-git-c43806f4152c3ff908c7ead039daf5e163700f0e.tar.gz
Zend compatibility patch
Diffstat (limited to 'ext/pgsql')
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 0001adf52c..ef16d1f7e4 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -43,7 +43,7 @@
#define PGSQL_NUM 1<<1
#define PGSQL_BOTH (PGSQL_ASSOC|PGSQL_NUM)
-#define CHECK_DEFAULT_LINK(x) if (x == -1) { php_error(E_WARNING, "%s: no PostgreSQL link opened yet", get_active_function_name()); }
+#define CHECK_DEFAULT_LINK(x) if (x == -1) { php_error(E_WARNING, "%s: no PostgreSQL link opened yet", get_active_function_name(TSRMLS_C)); }
/* {{{ pgsql_functions[]
*/