]> git.sur5r.net Git - openldap/commitdiff
Fix last commit: C90 rejects declaration after code
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 30 Jul 2009 15:34:42 +0000 (15:34 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 30 Jul 2009 15:34:42 +0000 (15:34 +0000)
servers/slapd/overlays/unique.c

index 91c4464c0cbc607e6b47d08c2d6da7d7ee7c8542..62d27430c8e5eaebfbb916cf02d1084b76918391 100644 (file)
@@ -256,8 +256,8 @@ unique_new_domain_uri ( unique_domain_uri **urip,
        }
 
        if (url_desc->lud_filter) {
-               uri->f = str2filter( url_desc->lud_filter );
                char *ptr;
+               uri->f = str2filter( url_desc->lud_filter );
                if ( !uri->f ) {
                        snprintf( c->cr_msg, sizeof( c->cr_msg ),
                                  "unique: bad filter");