1
0
mirror of https://github.com/php/php-src.git synced 2026-04-01 05:02:27 +02:00

Fix minor spacing issue

This commit is contained in:
Chad Sikorra
2016-06-26 09:31:07 -05:00
parent 63427c1768
commit 737ee1f2c9

View File

@@ -2846,7 +2846,7 @@ static zend_string* php_ldap_do_escape(const zend_bool *map, const char *value,
for (i = 0; i < valuelen; i++) {
unsigned char v = (unsigned char) value[i];
if (map[v] || (flags & PHP_LDAP_ESCAPE_DN && (i == 0 || i + 1 == valuelen ) && v == ' ')) {
if (map[v] || (flags & PHP_LDAP_ESCAPE_DN && (i == 0 || i + 1 == valuelen) && v == ' ')) {
ZSTR_VAL(ret)[p++] = '\\';
ZSTR_VAL(ret)[p++] = hex[v >> 4];
ZSTR_VAL(ret)[p++] = hex[v & 0x0f];