summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-03-21 22:35:02 +0000
committerMarkus Fischer <mfischer@php.net>2002-03-21 22:35:02 +0000
commit1d75089d8bf0349ea56b449e6e9c1ac656bdb859 (patch)
tree1255c6b271aa57c4636221cb33c3fad3f9cb1f5c /ext/pgsql/pgsql.c
parent9772468d37096ea7c5b551b78491c5a597ffdd25 (diff)
downloadphp-git-1d75089d8bf0349ea56b449e6e9c1ac656bdb859.tar.gz
*** empty log message ***
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 e795affba4..8038c72fab 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -1478,7 +1478,7 @@ PHP_FUNCTION(pg_trace)
RETURN_FALSE;
}
- if (!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;
}