]> granicus.if.org Git - php/commitdiff
Fix build (see r296062)
authorHannes Magnusson <bjori@php.net>
Thu, 11 Mar 2010 19:50:04 +0000 (19:50 +0000)
committerHannes Magnusson <bjori@php.net>
Thu, 11 Mar 2010 19:50:04 +0000 (19:50 +0000)
ext/pgsql/pgsql.c

index 228fe4d18cd9710a943ca8c5e2206581369a8964..43bd32b8f56ba0a6f66aa857916f82e1157de8b8 100644 (file)
@@ -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);