Sfoglia il codice sorgente

Cancel token holding mode when a totem token callback is added to the system.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1734 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 17 anni fa
parent
commit
da51942e60
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      exec/totemsrp.c

+ 2 - 0
exec/totemsrp.c

@@ -2986,6 +2986,8 @@ int totemsrp_callback_token_create (
 		goto error_exit;
 		goto error_exit;
 	}
 	}
 
 
+	token_hold_cancel_send (instance);
+
 	callback_handle = (struct token_callback_instance *)malloc (sizeof (struct token_callback_instance));
 	callback_handle = (struct token_callback_instance *)malloc (sizeof (struct token_callback_instance));
 	if (callback_handle == 0) {
 	if (callback_handle == 0) {
 		return (-1);
 		return (-1);