@@ -178,16 +178,17 @@ corosync_cfg_dispatch (
error = CS_OK;
goto error_put;
}
- if (error != CS_OK) {
- goto error_put;
- }
if (error == CS_ERR_TRY_AGAIN) {
+ error = CS_OK;
if (dispatch_flags == CPG_DISPATCH_ALL) {
break; /* exit do while cont is 1 loop */
} else {
continue; /* next poll */
+ if (error != CS_OK) {
+ goto error_put;
+ }
/*
* Make copy of callbacks, message data, unlock instance, and call callback
@@ -313,16 +313,17 @@ cs_error_t confdb_dispatch (
if (dispatch_types == CONFDB_DISPATCH_ALL) {
@@ -247,16 +247,17 @@ cs_error_t cpg_dispatch (
if (dispatch_types == CPG_DISPATCH_ALL) {
@@ -255,16 +255,17 @@ evs_error_t evs_dispatch (
@@ -362,16 +362,17 @@ cs_error_t quorum_dispatch (
@@ -716,16 +716,17 @@ cs_error_t votequorum_dispatch (