]> git.netwichtig.de Git - user/henk/code/exim.git/blobdiff - src/src/lookups/ldap.c
Tidying: coverity issues
[user/henk/code/exim.git] / src / src / lookups / ldap.c
index fe67e7f0a6f4bc665cc298d79f99970ff5951b77..40c84b1ad13e25824de4166992d4c57a52d4791a 100644 (file)
@@ -2,7 +2,7 @@
 *     Exim - an Internet mail transport agent    *
 *************************************************/
 
-/* Copyright (c) University of Cambridge 1995 - 2015 */
+/* Copyright (c) University of Cambridge 1995 - 2016 */
 /* See the file NOTICE for conditions of use and distribution. */
 
 /* Many thanks to Stuart Lynne for contributing the original code for this
@@ -847,12 +847,10 @@ while ((rc = ldap_result(lcp->ld, msgid, 0, timeoutptr, &result)) ==
              {
              int j;
              for (j = 0; j < len; j++)
-               {
                if (value[j] == ',')
                  data = string_cat(data, &size, &ptr, US",,", 2);
                else
                  data = string_cat(data, &size, &ptr, value+j, 1);
-               }
              }