X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fmeshlink.c;h=a8ed1fad3d20a0d39db9ad5f9c7a67763d904e6f;hp=56da2a045452acf8004b0d0a04cbf1e7e2810ceb;hb=d1b43b5060795728b95b4ed3311b3398771cf34e;hpb=1a023116b9d5e9a8fa93e81fcef725fd7b343593 diff --git a/src/meshlink.c b/src/meshlink.c index 56da2a04..a8ed1fad 100644 --- a/src/meshlink.c +++ b/src/meshlink.c @@ -3904,9 +3904,6 @@ static void channel_poll(struct utcp_connection *connection, size_t len) { } if(sent != (ssize_t)todo) { - /* We should never get a partial send at this point */ - assert(sent <= 0); - /* Sending failed, abort all outstanding AIO buffers and send a poll callback. */ if(!aio_abort(mesh, channel, &channel->aio_send)) { return;