diff options
author | Chad Sikorra <Chad.Sikorra@gmail.com> | 2016-06-26 09:31:07 -0500 |
---|---|---|
committer | Chad Sikorra <Chad.Sikorra@gmail.com> | 2016-06-26 09:31:07 -0500 |
commit | 737ee1f2c9277a61ba784df06926cbb3739599b4 (patch) | |
tree | a1fc83648cf54e5bf156335398d1c350090d20c6 /ext/ldap | |
parent | 63427c176854b19c78f00f0cb2c8476a16511bbb (diff) | |
download | php-git-737ee1f2c9277a61ba784df06926cbb3739599b4.tar.gz |
Fix minor spacing issue
Diffstat (limited to 'ext/ldap')
-rw-r--r-- | ext/ldap/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c index 6b747857ba..915ac3febe 100644 --- a/ext/ldap/ldap.c +++ b/ext/ldap/ldap.c @@ -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]; |