summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-03-13 22:56:20 +0000
committerMarcus Boerger <helly@php.net>2006-03-13 22:56:20 +0000
commit0bcd459300d80e2d4787836eb3cb32ca1761ae38 (patch)
tree259e2ae6e88b99f0191433493229449e203f58c7 /ext/pgsql/pgsql.c
parenta371a8c15350f0d7a97078b807fbe00f3409a56f (diff)
downloadphp-git-0bcd459300d80e2d4787836eb3cb32ca1761ae38.tar.gz
- bug #36625 fix
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 2617d711c7..60cd217757 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;
}