]> git.sur5r.net Git - openldap/commitdiff
Fix compilation error
authorKurt Zeilenga <kurt@openldap.org>
Fri, 18 Jan 2002 17:04:29 +0000 (17:04 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 18 Jan 2002 17:04:29 +0000 (17:04 +0000)
servers/slapd/back-bdb/idl.c

index e6c65795c90d104257d88326b456eee7273790b9..a4b010b5f923cd056be0433991739d6431cc8d6d 100644 (file)
@@ -236,10 +236,10 @@ bdb_idl_fetch_key(
                void *ptr;
                size_t len;
                int rc2;
+               int flags = bdb->bi_db_opflags | DB_MULTIPLE;
                data.data = buf;
                data.ulen = BDB_IDL_UM_SIZEOF;
                data.flags = DB_DBT_USERMEM;
-               int flags = bdb->bi_db_opflags | DB_MULTIPLE;
 
                if ( tid )
                        flags |= DB_RMW;