diff options
author | Markus Fischer <mfischer@php.net> | 2002-03-21 22:35:02 +0000 |
---|---|---|
committer | Markus Fischer <mfischer@php.net> | 2002-03-21 22:35:02 +0000 |
commit | 1d75089d8bf0349ea56b449e6e9c1ac656bdb859 (patch) | |
tree | 1255c6b271aa57c4636221cb33c3fad3f9cb1f5c /ext/pgsql/pgsql.c | |
parent | 9772468d37096ea7c5b551b78491c5a597ffdd25 (diff) | |
download | php-git-1d75089d8bf0349ea56b449e6e9c1ac656bdb859.tar.gz |
*** empty log message ***
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 2 |
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; } |