summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2014-03-10 12:52:56 +0200
committerAndrey Hristov <andrey@php.net>2014-03-10 12:52:56 +0200
commit3a76cb2d9570f02fb189699c092ecf1f7491e424 (patch)
tree1fd69ed1a311b326746a11b475be940be831d357
parenta930e047927835db02325e0e7a0ae48da00649e0 (diff)
downloadphp-git-3a76cb2d9570f02fb189699c092ecf1f7491e424.tar.gz
Fix indentation
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.c b/ext/mysqlnd/mysqlnd_wireprotocol.c
index df9dde592a..dfdba4084e 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.c
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.c
@@ -1741,8 +1741,9 @@ php_mysqlnd_rowp_read_text_protocol(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zval
zval_dtor(*current_field);
ZVAL_STRINGL(*current_field, (char *) start, bit_area - start - 1, 0);
}
- } else
- ZVAL_STRINGL(*current_field, (char *)p, len, 0);
+ } else {
+ ZVAL_STRINGL(*current_field, (char *)p, len, 0);
+ }
p += len;
last_field_was_string = TRUE;
}