summaryrefslogtreecommitdiff
path: root/dbutil.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-19 22:41:51 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-19 22:41:51 +0800
commit2e7d468b906488c152afb463226330a0a97aacba (patch)
treeee786716e5cddd5b87336bf19665398393f064d9 /dbutil.c
parent76a3eb393c021905736f79e7e048017f664b2430 (diff)
downloaddropbear-2e7d468b906488c152afb463226330a0a97aacba.tar.gz
Add the missing second half of iov code
--HG-- branch : fastopen
Diffstat (limited to 'dbutil.c')
-rw-r--r--dbutil.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbutil.c b/dbutil.c
index 01b541c..f1a0f19 100644
--- a/dbutil.c
+++ b/dbutil.c
@@ -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) {