Blame SOURCES/0027-Ticket-48393-fix-copy-and-paste-error.patch

b045b9
From 3d045a240bb32b66e15401bf89eff5b980420b24 Mon Sep 17 00:00:00 2001
b045b9
From: Mark Reynolds <mreynolds@redhat.com>
b045b9
Date: Fri, 3 Nov 2017 12:18:26 -0400
b045b9
Subject: [PATCH] Ticket 48393 - fix copy and paste error
b045b9
b045b9
Description:  Copy and paste error when validating repl agmt
b045b9
b045b9
https://pagure.io/389-ds-base/issue/48393
b045b9
b045b9
Reviewed by: mreynolds(one line commit rule)
b045b9
b045b9
(cherry picked from commit 431647039c5e6d860d8866542050d456f69bb600)
b045b9
---
b045b9
 ldap/servers/plugins/replication/repl5_agmt.c | 2 +-
b045b9
 1 file changed, 1 insertion(+), 1 deletion(-)
b045b9
b045b9
diff --git a/ldap/servers/plugins/replication/repl5_agmt.c b/ldap/servers/plugins/replication/repl5_agmt.c
b045b9
index 78fb91ae6..ee396c8ef 100644
b045b9
--- a/ldap/servers/plugins/replication/repl5_agmt.c
b045b9
+++ b/ldap/servers/plugins/replication/repl5_agmt.c
b045b9
@@ -339,7 +339,7 @@ agmt_new_from_entry(Slapi_Entry *e)
b045b9
     ra->flowControlWindow = DEFAULT_FLOWCONTROL_WINDOW;
b045b9
     if ((val = slapi_entry_attr_get_charptr(e, type_nsds5ReplicaFlowControlWindow))){
b045b9
         int64_t flow;
b045b9
-        if (repl_config_valid_num(type_nsds5ReplicaTimeout, val, 0, INT_MAX, &rc, errormsg, &flow) != 0) {
b045b9
+        if (repl_config_valid_num(type_nsds5ReplicaFlowControlWindow, val, 0, INT_MAX, &rc, errormsg, &flow) != 0) {
b045b9
             goto loser;
b045b9
         }
b045b9
         slapi_ch_free_string(&val;;
b045b9
-- 
b045b9
2.13.6
b045b9