File 0020-ITS-8428-init-sc_writewait.patch of Package openldap2.17838

From ffda38b25480f680e9a8d2ce1f8781abc96a4a5b Mon Sep 17 00:00:00 2001
From: Howard Chu <hyc@openldap.org>
Date: Wed, 18 May 2016 12:30:31 +0100
Subject: [PATCH] ITS#8428 init sc_writewait


diff --git a/servers/slapd/back-relay/op.c b/servers/slapd/back-relay/op.c
index b27580a..07c7667 100644
--- a/servers/slapd/back-relay/op.c
+++ b/servers/slapd/back-relay/op.c
@@ -97,6 +97,7 @@ relay_back_response_cb( Operation *op, SlapReply *rs )
 		(rcb)->rcb_sc.sc_next = (op)->o_callback;	\
 		(rcb)->rcb_sc.sc_response = relay_back_response_cb; \
 		(rcb)->rcb_sc.sc_cleanup = 0;			\
+		(rcb)->rcb_sc.sc_writewait = 0;			\
 		(rcb)->rcb_sc.sc_private = (op)->o_bd;		\
 		(op)->o_callback = (slap_callback *) (rcb);	\
 }
-- 
2.15.0
openSUSE Build Service is sponsored by