mirror of
https://github.com/neovim/neovim.git
synced 2025-09-09 04:48:18 +00:00
channels: allow bytes sockets and stdio, and buffered bytes output
This commit is contained in:
@@ -121,7 +121,7 @@ char *rbuffer_read_ptr(RBuffer *buf, size_t *read_count) FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
if (!buf->size) {
|
||||
*read_count = 0;
|
||||
return NULL;
|
||||
return buf->read_ptr;
|
||||
}
|
||||
|
||||
if (buf->read_ptr < buf->write_ptr) {
|
||||
|
Reference in New Issue
Block a user