Blame SOURCES/0006-Issue-49062-Reset-agmt-update-staus-and-total-init

61f723
From 310b8f8b3c59423b9dfa3a6ea30f4a719f342fc9 Mon Sep 17 00:00:00 2001
61f723
From: Mark Reynolds <mreynolds@redhat.com>
61f723
Date: Wed, 1 Mar 2017 10:56:40 -0500
61f723
Subject: [PATCH] Issue 49062 - Reset agmt update staus and total init
61f723
61f723
Description:  Make sure we always reset the agmt status after doing a reinit
61f723
61f723
https://pagure.io/389-ds-base/issue/49062
61f723
61f723
Reviewed by: tbordaz & nhosoi(Thanks!!)
61f723
---
61f723
 ldap/servers/plugins/replication/repl5_tot_protocol.c | 1 +
61f723
 1 file changed, 1 insertion(+)
61f723
61f723
diff --git a/ldap/servers/plugins/replication/repl5_tot_protocol.c b/ldap/servers/plugins/replication/repl5_tot_protocol.c
61f723
index 57d9de2..45a084a 100644
61f723
--- a/ldap/servers/plugins/replication/repl5_tot_protocol.c
61f723
+++ b/ldap/servers/plugins/replication/repl5_tot_protocol.c
61f723
@@ -591,6 +591,7 @@ retry:
61f723
 		                 "\"%s\". Sent %lu entries.\n",
61f723
 		                 agmt_get_long_name(prp->agmt), cb_data.num_entries);
61f723
 		agmt_set_last_init_status(prp->agmt, 0, 0, 0, "Total update succeeded");
61f723
+		agmt_set_last_update_status(prp->agmt, 0, 0, NULL);
61f723
 	}
61f723
 
61f723
 done:
61f723
-- 
61f723
2.9.3
61f723