File 0019-ITS-8435-Move-sc_writewait-to-end-of-slap_callback.patch of Package openldap2.17838

From 8f117863591ebc4ac808d1def7f672d2468937ce Mon Sep 17 00:00:00 2001
From: Hallvard Furuseth <hallvard@openldap.org>
Date: Sun, 12 Jun 2016 08:31:18 +0200
Subject: [PATCH] ITS#8435 Move sc_writewait to end of slap_callback

So any initializers in code predating sc_writewait
will find sc_private in the expected position.

diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h
index ca19be9..549ccd7 100644
--- a/servers/slapd/slap.h
+++ b/servers/slapd/slap.h
@@ -2374,8 +2374,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;
-- 
2.15.0
openSUSE Build Service is sponsored by