summaryrefslogtreecommitdiff
path: root/ext/pgsql
diff options
context:
space:
mode:
authorHannes Magnusson <bjori@php.net>2010-03-11 19:50:04 +0000
committerHannes Magnusson <bjori@php.net>2010-03-11 19:50:04 +0000
commit3f15f8f4e3711358808783e839b1d6e8c281e8de (patch)
treebde6db376f0e6b2de37483d4c63e2951f02516a2 /ext/pgsql
parent5b277c4da0d9fb8bfb59186b61a884aaafffb861 (diff)
downloadphp-git-3f15f8f4e3711358808783e839b1d6e8c281e8de.tar.gz
Fix build (see r296062)
Diffstat (limited to 'ext/pgsql')
-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 228fe4d18c..43bd32b8f5 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -3303,7 +3303,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);