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

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