]> git.meshlink.io Git - utcp/commit
Fix and refactor send buffer code.
authorGuus Sliepen <guus@meshlink.io>
Tue, 2 Dec 2014 11:26:57 +0000 (12:26 +0100)
committerGuus Sliepen <guus@meshlink.io>
Tue, 2 Dec 2014 11:26:57 +0000 (12:26 +0100)
commitd6fd886cef9bc465c03a95e9b89f44b2810066aa
tree7f1ed0a2f6d86c8486dc29eb53c89d7878c8192c
parent8d8944f2e16b8d11e54cb79e1d45023e84aed37f
Fix and refactor send buffer code.

Make generic buffer handling functions and use those. A problem was
found when resizing a buffer; if new data to be put into the buffer was
more than twice as large as the current buffer size, the code would not
reallocate the buffer large enough.
utcp.c
utcp_priv.h