]> git.meshlink.io Git - meshlink/commitdiff
do not exit the program, so we can still use /join to accept an invitation
authorSaverio Proto <zioproto@gmail.com>
Sat, 7 Jun 2014 11:02:52 +0000 (13:02 +0200)
committerSaverio Proto <zioproto@gmail.com>
Sat, 7 Jun 2014 11:02:52 +0000 (13:02 +0200)
examples/chat.c

index 70d17d7d917bf6515aaf98d1fb97bea2f969df22..7859ae4c05239fce613f3cf0f27a107517f16c68 100644 (file)
@@ -194,7 +194,6 @@ int main(int argc, char *argv[]) {
 
        if(!meshlink_start(mesh)) {
                fprintf(stderr, "Could not start MeshLink: %s\n", mesh->errstr);
-               return 1;
        }
 
        printf("Chat started.\nType /help for a list of commands.\n");