]> git.meshlink.io Git - utcp/commitdiff
Fix garbage being sent at start of UDP connection.
authorGuus Sliepen <guus@sliepen.org>
Sat, 8 Feb 2020 14:59:41 +0000 (15:59 +0100)
committerGuus Sliepen <guus@sliepen.org>
Sat, 8 Feb 2020 14:59:41 +0000 (15:59 +0100)
If utcp_send() was called right after utcp_connect_ex(..., UTCP_UDP),
and the handshake phase hadn't completed yet, we left some garbage in
the send buffer which wasn't cleared until two more calls to utcp_send()
were made.


No differences found