diff --git a/src/README.md b/src/README.md index d7e2de6..cc78a71 100644 --- a/src/README.md +++ b/src/README.md @@ -3,4 +3,4 @@ - Static global variables: lower case letters - Function names: TypeName_verb or verb_noun - Type names: camel case with the first letter capitalised, e.g. CamelCase -- Indentation style: ``indent -kr -nut *.c *.h`` +- Indentation style: run ``make format`` at the root of the repository diff --git a/src/main.c b/src/main.c index 55d1019..95a8024 100644 --- a/src/main.c +++ b/src/main.c @@ -89,7 +89,7 @@ int main(int argc, char **argv) */ char *base_url = argv[argc - 2]; if (strncmp(base_url, "http://", 7) - && strncmp(base_url, "https://", 8)) { + && strncmp(base_url, "https://", 8)) { fprintf(stderr, "Error: Please supply a valid URL.\n"); print_help(argv[0], 0); exit(EXIT_FAILURE); @@ -108,7 +108,7 @@ activate Sonic mode.\n"); } } - fuse_start: +fuse_start: fuse_local_init(fuse_argc, fuse_argv); return 0; @@ -206,8 +206,8 @@ parse_arg_list(int argc, char **argv, char ***fuse_argv, int *fuse_argc) { 0, 0, 0, 0 } }; while ((c = - getopt_long(argc, argv, short_opts, long_opts, - &long_index)) != -1) { + getopt_long(argc, argv, short_opts, long_opts, + &long_index)) != -1) { switch (c) { case 'o': add_arg(fuse_argv, fuse_argc, "-o");