Skip to contentSkip to conversation

cluster/cman/daemon ais.c

Cluster-devel [email protected] 1 participant 1 message Sep 25, 2006

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: pcaulfield at sourceware.org 2006-09-25 11:38:53

Modified files:
cman/daemon : ais.c

Log message:
Add struct entry for .flow_control to keep latest openais happy.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/ais.c.diff?cvsroot=cluster&r1=1.39&r2=1.40

cman/daemon/ais.c +2 -0
@@ -17,6 +17,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
+#include <unistd.h>
 #include <string.h>
 #include <syslog.h>
 #include <signal.h>
@@ -134,6 +135,7 @@
 static struct openais_service_handler cman_service_handler = {
 	.name		    		= (unsigned char *)"openais CMAN membership service 2.01",
 	.id			        = CMAN_SERVICE,
+	.flow_control			= OPENAIS_FLOW_CONTROL_NOT_REQUIRED,
 	.lib_exit_fn		       	= cman_exit_fn,
 	.exec_init_fn		       	= cman_exec_init_fn,
 	.config_init_fn                 = NULL,