]> granicus.if.org Git - apache/commitdiff
fixed var declaration in the middle of code.
authorGuenter Knauf <fuankg@apache.org>
Thu, 29 Nov 2007 12:56:52 +0000 (12:56 +0000)
committerGuenter Knauf <fuankg@apache.org>
Thu, 29 Nov 2007 12:56:52 +0000 (12:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599425 13f79535-47bb-0310-9956-ffa450edef68

modules/ldap/util_ldap.c

index 2f18ff83220a82fdd1121a8b02c2e1137aae93c1..5fe6257f91c2d4f5679abe8280c0059699e786b6 100644 (file)
@@ -1112,10 +1112,8 @@ static int uldap_cache_check_subgroups(request_rec *r,
     util_compare_node_t the_compare_node;
     util_compare_subgroup_t *tmp_local_sgl = NULL;
     int lcl_sgl_processedFlag = 0, sgindex = 0, base_sgcIndex = 0;
-    struct mod_auth_ldap_groupattr_entry_t *sgc_ents;
-
-    sgc_ents = (struct mod_auth_ldap_groupattr_entry_t *) subgroupclasses->elts;
-
+    struct mod_auth_ldap_groupattr_entry_t *sgc_ents =
+            (struct mod_auth_ldap_groupattr_entry_t *) subgroupclasses->elts;
     util_ldap_state_t *st = (util_ldap_state_t *)
                             ap_get_module_config(r->server->module_config,
                                                  &ldap_module);