]> git.meshlink.io Git - utcp/blobdiff - utcp_priv.h
Fix free_connection() moving the wrong memory.
[utcp] / utcp_priv.h
index 184e3386bf00e8c3a3addabd1c39bd9086f5d40a..d73d664d51e9981c82150e7766a98de0dd76fed9 100644 (file)
@@ -80,6 +80,7 @@ struct utcp_connection {
        // Callbacks
 
        utcp_recv_t recv;
+       utcp_poll_t poll;
 
        // TCP State
 
@@ -113,7 +114,6 @@ struct utcp_connection {
        // Send buffer
 
        char *sndbuf;
-       uint32_t sndbufused;
        uint32_t sndbufsize;
        uint32_t maxsndbufsize;