com php-src: Fix minor spacing issue: ext/ldap/ldap.c
| From: | Côme Bernigaud | Date: | Sun, 26 Jun 2016 14:31:07 +0000 |
| Subject: | com php-src: Fix minor spacing issue: ext/ldap/ldap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92862@lists.php.net to get a copy of this message | ||
Commit: 737ee1f2c9277a61ba784df06926cbb3739599b4
Author: Chad Sikorra <Chad.Sikorra@gmail.com> Sun, 26 Jun 2016 09:31:07 -0500
Parents: 63427c176854b19c78f00f0cb2c8476a16511bbb
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=737ee1f2c9277a61ba784df06926cbb3739599b4
Log:
Fix minor spacing issue
Changed paths:
M ext/ldap/ldap.c
Diff:
diff --git a/ext/ldap/ldap.c b/ext/ldap/ldap.c
index 6b74785..915ac3f 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];