andykimpe / rpms / 389-ds-base

Forked from rpms/389-ds-base 5 months ago
Clone

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

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