]> git.sur5r.net Git - openldap/commitdiff
ITS#8435 Move sc_writewait to end of slap_callback
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 12 Jun 2016 06:31:18 +0000 (08:31 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 12 Jun 2016 06:31:18 +0000 (08:31 +0200)
So any initializers in code predating sc_writewait
will find sc_private in the expected position.

servers/slapd/slap.h

index bbdd4517f55f7d6ead3b24857ed3b671d2c79ed9..9c3250f53a56513b2a3e8b7bf0901d49bb956ebf 100644 (file)
@@ -2397,8 +2397,8 @@ typedef struct slap_callback {
        struct slap_callback *sc_next;
        slap_response *sc_response;
        slap_response *sc_cleanup;
-       slap_writewait *sc_writewait;
        void *sc_private;
+       slap_writewait *sc_writewait;
 } slap_callback;
 
 struct slap_overinfo;