Signed-off-by: Angus Salkeld <[email protected]>
---
 lib/coroipcc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lib/coroipcc.c b/lib/coroipcc.c
index c09390e..cef239e 100644
--- a/lib/coroipcc.c
+++ b/lib/coroipcc.c
@@ -989,7 +989,8 @@ coroipcc_dispatch_get (
        if (ipc_instance->flow_control_state) {
                buf_two = MESSAGE_REQ_OUTQ_FLUSH;
                res = socket_send (ipc_instance->fd, &buf_two, 1);
-               assert (res == CS_OK); /* TODO */
+               error = CS_ERR_LIBRARY;
+               goto error_put;
        }
        /*
         * This is just a notification of flow control starting at the addition
-- 
1.7.1

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to