summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2007-01-16 18:56:45 +0000
committerIlia Alshanetsky <iliaa@php.net>2007-01-16 18:56:45 +0000
commitf854b90ed40c409c9aa943a51ab4f26f89857ca2 (patch)
tree4ed98f6a9995c189667577689695baeea6568be5
parent42e3e2e12e34fba15322a5f872c2eef84be4f442 (diff)
downloadphp-git-f854b90ed40c409c9aa943a51ab4f26f89857ca2.tar.gz
MFH: Fixed output code inside odbc_result_all()
-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 fc40b12a86..d7e45d6aec 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -1980,12 +1980,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;