From 990d0af0ce13bf06b3b51cb6416578e6eb62b053 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sat, 15 Apr 2006 08:04:21 +0000 Subject: [PATCH] remove warnings form totemrrp and also fix bug where send_flush wasn't being called for the active replication algorithm git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@990 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/totemrrp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exec/totemrrp.c b/exec/totemrrp.c index 986c625f..9683b679 100644 --- a/exec/totemrrp.c +++ b/exec/totemrrp.c @@ -183,6 +183,7 @@ struct totemrrp_instance { int processor_count; }; +#ifdef TODO static void passive_mcast_recv ( struct totemrrp_instance *instance, void *context, @@ -213,6 +214,7 @@ static void passive_token_send ( struct totem_ip_address *system_to, struct iovec *iovec, unsigned int iov_len); +#endif static void active_mcast_recv ( struct totemrrp_instance *instance, @@ -275,7 +277,7 @@ struct rrp_algo active_algo = { .token_recv = active_token_recv, .token_send = active_token_send, .recv_flush = active_recv_flush, - .send_flush = active_recv_flush, + .send_flush = active_send_flush, .iface_check = active_iface_check, .processor_count_set = active_processor_count_set, };