]> git.meshlink.io Git - utcp/commitdiff
Set priv field in utcp_connect().
authorGuus Sliepen <guus@meshlink.io>
Sat, 13 Sep 2014 15:10:52 +0000 (17:10 +0200)
committerGuus Sliepen <guus@meshlink.io>
Sat, 13 Sep 2014 15:10:52 +0000 (17:10 +0200)
utcp.c

diff --git a/utcp.c b/utcp.c
index cf33e4c174b1a63d7b5291a961ea479be9aad03f..5962820805d60f822a3a16d28b4098c604bb380f 100644 (file)
--- a/utcp.c
+++ b/utcp.c
@@ -202,6 +202,7 @@ struct utcp_connection *utcp_connect(struct utcp *utcp, uint16_t dst, utcp_recv_
                return NULL;
 
        c->recv = recv;
+       c->priv = priv;
 
        struct hdr hdr;