cluster: RHEL56 - cman: Fix fail_recv_const length calculation

Lon Hohberger lon at fedoraproject.org
Tue Nov 30 18:35:28 UTC 2010


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=e019fff81ee4d46a32b7a51d94f6de72b540cc44
Commit:        e019fff81ee4d46a32b7a51d94f6de72b540cc44
Parent:        5b5c8300ef6f8c8d2105baba7379607d45ce1d84
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Mon Nov 29 10:27:03 2010 -0500
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Mon Nov 29 10:32:28 2010 -0500

cman: Fix fail_recv_const length calculation

Resolves: rhbz#587080

Signed-off-by: Lon Hohberger <lhh at redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie at redhat.com>
---
 cman/daemon/ais.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/daemon/ais.c b/cman/daemon/ais.c
index b6f23c4..c7fc5e1 100644
--- a/cman/daemon/ais.c
+++ b/cman/daemon/ais.c
@@ -523,7 +523,7 @@ static int comms_init_ais(struct objdb_iface_ver0 *objdb)
 		}
 		/* Extend fail_to_recv_const, see bz#587080 */
 		if (objdb_get_string(objdb, object_handle, "fail_recv_const", &value)) {
-			global_objdb->object_key_create(object_handle, "fail_recv_const", strlen("fail_to_recv_const"),
+			global_objdb->object_key_create(object_handle, "fail_recv_const", strlen("fail_recv_const"),
 							"2500", strlen("2500")+1);
 		}
 


More information about the cluster-commits mailing list