diff options
author | Omar Polo <op@omarpolo.com> | 2021-05-15 10:04:58 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-05-15 10:04:58 +0000 |
commit | 571d20fbb3653391fb9baf932c502f8b9ffe7d27 (patch) | |
tree | cfedf1703ef3b1017032b38bbd1a86812424f8c7 /server.c | |
parent | 0773413c1d90a356493bc3b6f4ae3760a30ebf29 (diff) |
fmt
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -395,9 +395,11 @@ check_for_cgi(struct client *c) end = strchr(path, '\0'); while (end > path) { - /* go up one level. UNIX paths are simple and POSIX - * dirname, with its ambiguities on if the given path - * is changed or not, gives me headaches. */ + /* + * go up one level. UNIX paths are simple and POSIX + * dirname, with its ambiguities on if the given + * pointer is changed or not, gives me headaches. + */ while (*end != '/') end--; *end = '\0'; |