aboutsummaryrefslogtreecommitdiff
path: root/sandbox_ui.lv2
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2016-11-23 20:48:40 +0100
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2016-11-23 20:48:40 +0100
commit8cdd596ca58bb0fab3114cb80821827590f406cc (patch)
tree9f4315e60728de66975e6505eb9a831a4883dfb9 /sandbox_ui.lv2
parentcd79cd0f276a0c92c6625feea42f3c4bf2837319 (diff)
downloadsynthpod-8cdd596ca58bb0fab3114cb80821827590f406cc.zip
synthpod-8cdd596ca58bb0fab3114cb80821827590f406cc.tar.gz
synthpod-8cdd596ca58bb0fab3114cb80821827590f406cc.tar.bz2
synthpod-8cdd596ca58bb0fab3114cb80821827590f406cc.tar.xz
prevent error reporting for EAGAIN.
Diffstat (limited to 'sandbox_ui.lv2')
-rw-r--r--sandbox_ui.lv2/sandbox_io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sandbox_ui.lv2/sandbox_io.h b/sandbox_ui.lv2/sandbox_io.h
index e5264f7..1fd4c3c 100644
--- a/sandbox_ui.lv2/sandbox_io.h
+++ b/sandbox_ui.lv2/sandbox_io.h
@@ -311,6 +311,9 @@ _sandbox_io_flush(sandbox_io_t *io)
if(written == -1) // error has occured, so check it
{
const int status = nn_errno();
+ if(status == EAGAIN)
+ return 0;
+
fprintf(stderr, "nn_send: %s\n", nn_strerror(errno));
return status;
}