summaryrefslogtreecommitdiff
path: root/ext/odbc
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-01-16 18:56:06 (GMT)
committerIlia Alshanetsky <iliaa@php.net>2007-01-16 18:56:06 (GMT)
commitb4f76016fd12c0ce9a34aea9cbd2eb96a7124939 (patch)
tree7a4a4c0218c12dbdf2ec46579c71335ad9a76dda /ext/odbc
parentbb691f155c441be598de25f3880f0b48fb9a6ff9 (diff)
downloadphp-b4f76016fd12c0ce9a34aea9cbd2eb96a7124939.tar.gz
Fixed output code inside odbc_result_all()
Diffstat (limited to 'ext/odbc')
-rw-r--r--ext/odbc/php_odbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index 3a417b3..0937443 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -1984,12 +1984,12 @@ PHP_FUNCTION(odbc_result_all)
RETURN_FALSE;
}
if (rc == SQL_SUCCESS_WITH_INFO)
- php_printf(buf,result->longreadlen);
+ PHPWRITE(buf, result->longreadlen);
else if (result->values[i].vallen == SQL_NULL_DATA) {
php_printf("<td>NULL</td>");
break;
} else {
- php_printf(buf, result->values[i].vallen);
+ PHPWRITE(buf, result->values[i].vallen);
}
php_printf("</td>");
break;