diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2015-11-29 01:50:20 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2015-11-29 13:59:36 +0100 |
commit | 734e448ee58bbe0de6909534504ca96e5a719b9d (patch) | |
tree | 44d20e7da09e8e3f57678163d4e513865757b2f4 /src | |
parent | 694678d0a1c550b518b3b2298f8f605abd5a6754 (diff) |
LDAP: Fix comment formatting
Diffstat (limited to 'src')
-rw-r--r-- | src/src/lookups/ldap.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/src/lookups/ldap.c b/src/src/lookups/ldap.c index 77ed940fd..cfd384ccb 100644 --- a/src/src/lookups/ldap.c +++ b/src/src/lookups/ldap.c @@ -800,13 +800,12 @@ while ((rc = ldap_result(lcp->ld, msgid, 0, timeoutptr, &result)) == DEBUG(D_lookup) debug_printf("LDAP value loop %s:%s\n", attr, value); + /* In case we requested one attribute only but got several times + into that attr loop, we need to append the additional values. + (This may happen if you derive attributeTypes B and C from A and + then query for A.) In all other cases we detect the different + attribute and append only every non first value. */ - /* In case we requested one attribute only but got - * several times into that attr loop, we need to append - * the additional values. (This may happen if you derive - * attributeTypes B and C from A and then query for A.) - * In all other cases we detect the different attribute - * and append only every non first value. */ if ((attr_count == 1 && data) || (values != firstval)) data = string_cat(data, &size, &ptr, US",", 1); |