From adbdea46d4b7364720b6b6a25fe45137494abbfc Mon Sep 17 00:00:00 2001 From: Saverio Proto Date: Fri, 8 Aug 2014 11:05:55 +0000 Subject: [PATCH] Chat example: Trivial, fix return in void function --- examples/chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chat.c b/examples/chat.c index 1a334328..6ffebb86 100644 --- a/examples/chat.c +++ b/examples/chat.c @@ -63,7 +63,7 @@ static void parse_command(meshlink_handle_t *mesh, char *buf) { fprintf(stderr, "Invitation accepted!\n"); if(!meshlink_start(mesh)) { fprintf(stderr, "Could not start MeshLink: %s\n", meshlink_strerror(meshlink_errno)); - return 1; + return; } } } else if(!strcasecmp(buf, "kick")) { -- 2.39.5