]> granicus.if.org Git - php/commitdiff
WS
authorAndrey Hristov <andrey@php.net>
Sun, 1 Jan 2006 16:55:01 +0000 (16:55 +0000)
committerAndrey Hristov <andrey@php.net>
Sun, 1 Jan 2006 16:55:01 +0000 (16:55 +0000)
ext/mysqli/mysqli_api.c

index d9d20be2ffad57606b41890b123d14c66efa22e0..d8a9b5093a193984d0105b56e9c5d31aefb247c5 100644 (file)
@@ -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: