summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2006-01-01 16:55:01 +0000
committerAndrey Hristov <andrey@php.net>2006-01-01 16:55:01 +0000
commit3a75666285461f02fc8573bfa9e2577d4e13c4b1 (patch)
treee0234ef8a34401a78da1df2ccd5ec1b18004ce3f
parentd03aea048f23be8f2ffb72e08ededa731e502c97 (diff)
downloadphp-git-3a75666285461f02fc8573bfa9e2577d4e13c4b1.tar.gz
WS
-rw-r--r--ext/mysqli/mysqli_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c
index d9d20be2ff..d8a9b5093a 100644
--- a/ext/mysqli/mysqli_api.c
+++ b/ext/mysqli/mysqli_api.c
@@ -653,7 +653,7 @@ PHP_FUNCTION(mysqli_stmt_fetch)
for (i = 0; i < stmt->result.var_cnt; i++) {
/* Even if the string is of length zero there is one byte alloced so efree() in all cases */
if (Z_TYPE_P(stmt->result.vars[i]) == IS_STRING) {
- efree(stmt->result.vars[i]->value.str.val);
+ efree(stmt->result.vars[i]->value.str.val);
}
if (!stmt->result.is_null[i]) {
switch (stmt->result.buf[i].type) {
@@ -707,7 +707,7 @@ PHP_FUNCTION(mysqli_stmt_fetch)
ZVAL_LONG(stmt->result.vars[i], llval);
}
} else {
- ZVAL_STRINGL(stmt->result.vars[i], stmt->result.buf[i].val, stmt->result.buf[i].buflen, 1);
+ ZVAL_STRINGL(stmt->result.vars[i], stmt->result.buf[i].val, stmt->result.buf[i].buflen, 1);
}
break;
default: