From ff904b23147e72db4f7f77f8269242d9a5a0859e Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 21 Jun 2019 14:36:06 -0400 Subject: ... --- test/test_msgnet_c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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 -- cgit v1.2.3-70-g09d2