From: Saverio Proto Date: Fri, 8 Aug 2014 11:05:55 +0000 (+0000) Subject: Chat example: Trivial, fix return in void function X-Git-Url: http://git.meshlink.io/?p=meshlink;a=commitdiff_plain;h=adbdea46d4b7364720b6b6a25fe45137494abbfc Chat example: Trivial, fix return in void function --- 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")) {