Просмотр исходного кода

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 лет назад
Родитель
Сommit
da51942e60
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      exec/totemsrp.c

+ 2 - 0
exec/totemsrp.c

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