httpdirfs/src
Jonathan Kamens ed93a133df Fix minor logic bug and code smell in make_link_relative
Don't assume that the reason why we didn't find enough slashes in a
URL is because the user didn't specify the slash at the end of the
host name, unless we did find the first two slashes.

Add some curly braces around an if block to make it clear to people
and the compiler which statement an `else` applies to. The logic was
correct before but the indentation was wrong, making it especially
confusing.
2023-09-29 23:45:47 +01:00
..
README.md changed indentation style 2021-08-31 11:18:39 +01:00
cache.c Add missing error-checking for return value of fread 2023-09-29 23:45:47 +01:00
cache.h periodic backup 2021-09-04 03:00:25 +01:00
config.c Add setting to refresh directory contents (#114) 2023-03-31 13:26:15 +01:00
config.h ran the code through formatter 2023-07-26 07:48:33 +08:00
fuse_local.c minor formatting changes for PR #114 2023-07-26 07:48:22 +08:00
fuse_local.h Tidied up some of the comments and formatting 2019-09-01 08:52:18 +01:00
link.c Fix minor logic bug and code smell in make_link_relative 2023-09-29 23:45:47 +01:00
link.h Do the right thing with sites that require the final slash 2023-09-29 12:47:55 +01:00
log.c fixed --version switch 2022-04-23 02:49:16 +01:00
log.h Clean up for the master branch 2021-09-04 12:41:33 +01:00
main.c Remove spurious arguments to print_version() 2023-09-29 23:45:47 +01:00
memcache.c Clean up for the master branch 2021-09-04 12:41:33 +01:00
memcache.h Clean up for the master branch 2021-09-04 12:41:33 +01:00
network.c moved the location of error string 2021-09-04 13:37:45 +01:00
network.h started writing the ramcache 2021-09-04 01:28:01 +01:00
sonic.c ran the code through formatter 2023-07-26 07:48:33 +08:00
sonic.h Fix typos (#117) 2023-03-28 05:00:07 +01:00
util.c Correct error message in FREE(). 2022-11-01 01:59:03 +00:00
util.h more refactoring 2021-09-03 14:56:11 +01:00

README.md

Coding Convention

  • External variables: capital letters
  • 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