Sfoglia il codice sorgente

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 20 anni fa
parent
commit
7526e8f6a5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;
 		}