Mercurial > hg > xemacs-beta
diff modules/ldap/eldap.c @ 2387:7ee6ea4ff5c0
[xemacs-hg @ 2004-11-14 01:43:02 by ben]
fix eldap
* ldap/eldap.c (Fldap_modify)
Need braces around EXTERNAL_LIST_LOOP_2.
author | ben |
---|---|
date | Sun, 14 Nov 2004 01:43:12 +0000 |
parents | ecf1ebac70d8 |
children | 6fa9919a9a0b |
line wrap: on
line diff
--- a/modules/ldap/eldap.c Sat Nov 13 22:51:08 2004 +0000 +++ b/modules/ldap/eldap.c Sun Nov 14 01:43:12 2004 +0000 @@ -767,18 +767,20 @@ ldap_mods[i].mod_vals.modv_bvals = alloca_array (struct berval *, 1 + len); j = 0; - EXTERNAL_LIST_LOOP_2 (cur2, values) - { - CHECK_STRING (cur2); - ldap_mods[i].mod_vals.modv_bvals[j] = &(bervals[j]); - TO_EXTERNAL_FORMAT (LISP_STRING, cur2, - ALLOCA, (bervals[j].bv_val, - bervals[j].bv_len), - Qnative); - j++; - } - ldap_mods[i].mod_vals.modv_bvals[j] = NULL; - i++; + { + EXTERNAL_LIST_LOOP_2 (cur2, values) + { + CHECK_STRING (cur2); + ldap_mods[i].mod_vals.modv_bvals[j] = &(bervals[j]); + TO_EXTERNAL_FORMAT (LISP_STRING, cur2, + ALLOCA, (bervals[j].bv_val, + bervals[j].bv_len), + Qnative); + j++; + } + ldap_mods[i].mod_vals.modv_bvals[j] = NULL; + i++; + } } } ldap_mods_ptrs[i] = NULL;