]> git.meshlink.io Git - meshlink/blobdiff - examples/chat.c
Update astylerc and reformat the code.
[meshlink] / examples / chat.c
index 4d65d10eb04fd2ef0de3611b60537bc6b1ad4525..f5f41c936126c98393e1e53c1792d8e7267b2357 100644 (file)
@@ -209,7 +209,7 @@ int main(int argc, char *argv[]) {
 
        printf("Chat started.\nType /help for a list of commands.\n");
 
-       while(fgets(buf, sizeof buf, stdin))
+       while(fgets(buf, sizeof(buf), stdin))
                parse_input(mesh, buf);
 
        printf("Chat stopping.\n");