]> git.sur5r.net Git - openldap/commitdiff
ITS#6101: Move sru_search first in union SlapReply.sr_un, for initialization.
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 7 Jul 2009 21:11:39 +0000 (21:11 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 7 Jul 2009 21:11:39 +0000 (21:11 +0000)
servers/slapd/slap.h

index f5002c60394985ecf43474f57278b6c9c7550eb2..e2310762834feb5765d39e4f1c3b091a8fc04a07 100644 (file)
@@ -2062,9 +2062,9 @@ struct SlapReply {
        BerVarray sr_ref;
        LDAPControl **sr_ctrls;
        union sr_u {
+               rep_search_s sru_search;
                rep_sasl_s sru_sasl;
                rep_extended_s sru_extended;
-               rep_search_s sru_search;
        } sr_un;
        slap_mask_t sr_flags;
 #define REP_ENTRY_MODIFIABLE   0x0001U