diff options
author | David Robillard <d@drobilla.net> | 2020-07-08 21:34:37 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-08 21:34:37 +0200 |
commit | 6e0e88ac6eee6c18b0c04a62f1a378dd08bebb2e (patch) | |
tree | d17505a489fca5315d221937b90cfc5c1c6214fc | |
parent | b0d8894e8dd1b041f0c6643d86d232cf08f71a09 (diff) | |
download | jalv-6e0e88ac6eee6c18b0c04a62f1a378dd08bebb2e.tar.gz jalv-6e0e88ac6eee6c18b0c04a62f1a378dd08bebb2e.tar.bz2 jalv-6e0e88ac6eee6c18b0c04a62f1a378dd08bebb2e.zip |
Revert "worker: Only add response when enough space"
This reverts commit f831a1ebde048b4a19b380ff3794180152757efa.
This was merged accidentally.
-rw-r--r-- | src/worker.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/worker.c b/src/worker.c index c37c740..79bb7b7 100644 --- a/src/worker.c +++ b/src/worker.c @@ -22,10 +22,6 @@ jalv_worker_respond(LV2_Worker_Respond_Handle handle, const void* data) { JalvWorker* worker = (JalvWorker*)handle; - if (zix_ring_write_space(worker->responses) < (sizeof(size) + size)) { - return LV2_WORKER_ERR_NO_SPACE; - } - zix_ring_write(worker->responses, (const char*)&size, sizeof(size)); zix_ring_write(worker->responses, (const char*)data, size); return LV2_WORKER_SUCCESS; |