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

defect 1170
another fix for the assertion in memb_recovery_enter


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@971 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 20 лет назад
Родитель
Сommit
fd9d3f0a76
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      exec/totemsrp.c

+ 1 - 2
exec/totemsrp.c

@@ -1620,8 +1620,7 @@ static void memb_state_recovery_enter (
 				&commit_token->memb_list[i].ring_id,
 				sizeof (struct memb_ring_id)) == 0) {
 	
-				if (low_ring_aru == 0 ||
-					sq_lt_compare (commit_token->memb_list[i].aru, low_ring_aru)) {
+				if (sq_lt_compare (commit_token->memb_list[i].aru, low_ring_aru)) {
 
 					low_ring_aru = commit_token->memb_list[i].aru;
 				}