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

Merge trunk revision 2406 of the file lib/coroipcc.c:
r2406 | chrissie | 2009-09-08 01:14:58 -0700 (Tue, 08 Sep 2009) | 2 lines

Add corosync-quorumtool



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2466 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 16 лет назад
Родитель
Сommit
23d36bbc62
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      lib/coroipcc.c

+ 2 - 0
lib/coroipcc.c

@@ -819,9 +819,11 @@ coroipcc_dispatch_get (
 		goto error_put;
 	} else
 	if (poll_events == -1) {
+		error = CS_ERR_LIBRARY;
 		goto error_put;
 	} else
 	if (poll_events == 0) {
+		error = CS_ERR_TRY_AGAIN;
 		goto error_put;
 	}
 	if (poll_events == 1 && (ufds.revents & (POLLERR|POLLHUP))) {