summaryrefslogtreecommitdiff
path: root/ext/pgsql/pgsql.c
diff options
context:
space:
mode:
authorMichael Wallner <mike@php.net>2006-06-02 19:51:43 +0000
committerMichael Wallner <mike@php.net>2006-06-02 19:51:43 +0000
commit4ce0141713bfc14bfab06aaa9525b7d6a3339438 (patch)
tree8468e9d21dc5c63fdd39bf356ee56cb4d16f0d50 /ext/pgsql/pgsql.c
parent653007cea0bb87ccd39a746c7867eb10d907fd81 (diff)
downloadphp-git-4ce0141713bfc14bfab06aaa9525b7d6a3339438.tar.gz
- new output control code
# scan README.NEW-OUTPUT-API to get a grasp # tree has been tagged with BEFORE_NEW_OUTPUT_API # # TODO: # - improve existing output handlers # - move zlib.output_compression cruft from SAPI.c to zlib.c # - output_encoding handling was ambigious, resp. is undefined yet # - more tests
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 423e006fe8..90f9d76b12 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -2858,7 +2858,7 @@ PHP_FUNCTION(pg_lo_read_all)
tbytes = 0;
while ((nbytes = lo_read((PGconn *)pgsql->conn, pgsql->lofd, buf, PGSQL_LO_READ_BUF_SIZE))>0) {
- php_body_write(buf, nbytes TSRMLS_CC);
+ PHPWRITE(buf, nbytes);
tbytes += nbytes;
}
RETURN_LONG(tbytes);