]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Sat, 26 Apr 2008 15:47:06 +0000 (15:47 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 26 Apr 2008 15:47:06 +0000 (15:47 +0000)
servers/slapd/overlays/dynlist.c

index d28ac8714e68a4739e4ea52e1eda70b8f585692c..9b2ac459c5a2c2e5fd9c790482942ee5f48dca2c 100644 (file)
@@ -460,9 +460,12 @@ dynlist_prepare_entry( Operation *op, SlapReply *rs, dynlist_info_t *dli )
                }
                o.ors_scope = lud->lud_scope;
 
-               for ( dlm = dli->dli_dlm; dlm; dlm = dlm->dlm_next )
-                       if (dlm->dlm_mapped_ad != NULL)
+               for ( dlm = dli->dli_dlm; dlm; dlm = dlm->dlm_next ) {
+                       if ( dlm->dlm_mapped_ad != NULL ) {
                                break;
+                       }
+               }
+
                if ( dli->dli_dlm && !dlm ) {
                        /* if ( lud->lud_attrs != NULL ),
                         * the URL should be ignored */