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

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