summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-03-06 20:16:34 +0000
committerMarcus Boerger <helly@php.net>2006-03-06 20:16:34 +0000
commit81954dcf78dca4a4a5c7e047ccd35f2767a3c50f (patch)
treeee9e9b576fb799549e73ba08fa8f70d5fae292d3 /ext/pgsql/pgsql.c
parent032edbfb9288baf45190ab690b9bacb73445f978 (diff)
downloadphp-git-81954dcf78dca4a4a5c7e047ccd35f2767a3c50f.tar.gz
- Fixed #36625 pg_trace() does not work
Diffstat (limited to 'ext/pgsql/pgsql.c')
-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 2f179b426e..d52d2b4519 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -2360,7 +2360,7 @@ PHP_FUNCTION(pg_trace)
RETURN_FALSE;
}
- if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)fp, REPORT_ERRORS)) {
+ if (FAILURE == php_stream_cast(stream, PHP_STREAM_AS_STDIO, (void**)&fp, REPORT_ERRORS)) {
php_stream_close(stream);
RETURN_FALSE;
}