From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp49.i.mail.ru (smtp49.i.mail.ru [94.100.177.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 670AA4696CD for ; Fri, 10 Apr 2020 05:51:25 +0300 (MSK) From: Alexander Turenko Date: Fri, 10 Apr 2020 05:50:49 +0300 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 11/13] coio: fix obsoleted comment in coio_write_timeout List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cyrill Gorcunov Cc: tarantool-patches@dev.tarantool.org The comment was added in 52765de65b8304424ef3d7014952f9fa55ee46f4, but becomes non-actual since 1.6.6-21-gc74abc786 ('Implement special TimedOut exception type and use it in coio and latch.') Part of #4031 --- src/lib/core/coio.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/core/coio.cc b/src/lib/core/coio.cc index e88d724d5..74e6240ce 100644 --- a/src/lib/core/coio.cc +++ b/src/lib/core/coio.cc @@ -388,8 +388,8 @@ coio_readn_ahead_timeout(struct ev_io *coio, void *buf, size_t sz, size_t bufsiz * fiber until the socket becomes ready, until * all data is written. * - * @retval the number of bytes written. Can be less than - * requested only in case of timeout. + * @retval the number of bytes written. Always + * equal to @a sz. */ ssize_t coio_write_timeout(struct ev_io *coio, const void *buf, size_t sz, -- 2.25.0