diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-02-19 22:41:51 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-02-19 22:41:51 +0800 |
commit | 2e7d468b906488c152afb463226330a0a97aacba (patch) | |
tree | ee786716e5cddd5b87336bf19665398393f064d9 /dbutil.c | |
parent | 76a3eb393c021905736f79e7e048017f664b2430 (diff) |
Add the missing second half of iov code
--HG--
branch : fastopen
Diffstat (limited to 'dbutil.c')
-rw-r--r-- | dbutil.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1086,6 +1086,10 @@ static void connect_try_next(struct dropbear_progress_connection *c) { /* No kernel MSG_FASTOPEN support. Fall back below */ c->writequeue = NULL; } + m_free(message.msg_iov); + if (res > 0) { + packet_queue_consume(c->writequeue, res); + } } if (!c->writequeue) { |