X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=daemon.c;h=a3f2ac1d81a21883c5ec7e9f1270c9109c675f12;hb=4f50f6a966dc9a1ff7d11b2ca5eb116fa9dd139a;hp=674e30dca3d05cabc5a72e7bb0a40e64eaa4b2eb;hpb=a3342a2f52a5351739577f8773eab2a1db20b651;p=git.git diff --git a/daemon.c b/daemon.c index 674e30dca..a3f2ac1d8 100644 --- a/daemon.c +++ b/daemon.c @@ -133,7 +133,7 @@ static int avoid_alias(char *p) { int sl, ndot; - /* + /* * This resurrects the belts and suspenders paranoia check by HPA * done in <435560F7.4080006@zytor.com> thread, now enter_repo() * does not do getcwd() based path canonicalizations. @@ -247,7 +247,7 @@ static char *path_ok(struct interp *itable) int pathlen = strlen(path); /* The validation is done on the paths after enter_repo - * appends optional {.git,.git/.git} and friends, but + * appends optional {.git,.git/.git} and friends, but * it does not use getcwd(). So if your /pub is * a symlink to /mnt/pub, you can whitelist /pub and * do not have to say /mnt/pub. @@ -439,7 +439,7 @@ static void parse_extra_args(struct interp *table, char *extra_args, int buflen) } } -void fill_in_extra_table_entries(struct interp *itable) +static void fill_in_extra_table_entries(struct interp *itable) { char *hp;