diff options
author | Determinant <[email protected]> | 2019-06-21 14:36:06 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-06-21 14:36:06 -0400 |
commit | ff904b23147e72db4f7f77f8269242d9a5a0859e (patch) | |
tree | 2ddf080f917e8138911185f0abba496a866dc240 /test/test_msgnet_c.c | |
parent | 823585c4db2ef6752d12f489c83edab577b86099 (diff) |
...
Diffstat (limited to 'test/test_msgnet_c.c')
-rw-r--r-- | test/test_msgnet_c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_msgnet_c.c b/test/test_msgnet_c.c index f99c88b..aeedd99 100644 --- a/test/test_msgnet_c.c +++ b/test/test_msgnet_c.c @@ -108,7 +108,7 @@ void on_receive_hello(const msg_t *_msg, const msgnetwork_conn_t *conn, void *us free(msg.text); msg_t *ack = msg_ack_serialize(); /* send acknowledgement */ - msgnetwork_send_msg_by_move(net, ack, conn); + msgnetwork_send_msg(net, ack, conn); msg_free(ack); } @@ -128,7 +128,7 @@ bool conn_handler(const msgnetwork_conn_t *conn, bool connected, void *userdata) printf("[%s] Connected, sending hello.\n", name); /* send the first message through this connection */ msg_t *hello = msg_hello_serialize(name, "Hello there!"); - msgnetwork_send_msg_by_move(n->net, hello, conn); + msgnetwork_send_msg(n->net, hello, conn); msg_free(hello); } else |