Browse Source

defect 751
when ckptSectionIterationNext iterates all sections, SA_AIS_ERR_NO_SECTIONS
not being returned.


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

Steven Dake 21 năm trước cách đây
mục cha
commit
7526e8f6a5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      exec/ckpt.c

+ 1 - 1
exec/ckpt.c

@@ -3466,7 +3466,7 @@ static int message_handler_req_lib_ckpt_sectioniteratornext (struct conn_info *c
 		 * No more sections in iterator
 		 */
 		if (ckptSectionIterator->iteratorPos + 1 >= ckptSectionIterator->iteratorCount) {
-			error = SA_AIS_ERR_NOT_EXIST;
+			error = SA_AIS_ERR_NO_SECTIONS;
 			goto error_exit;
 		}