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:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user