Return to cgi.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.164, 2018/12/30 00:49:54 | version 1.165, 2019/01/31 23:00:23 | ||
---|---|---|---|
|
|
||
} | } | ||
/* Optional section. */ | /* Optional section. */ | ||
if (strncmp(path, "man", 3) == 0) { | if (strncmp(path, "man", 3) == 0 || strncmp(path, "cat", 3) == 0) { | ||
path += 3; | path += 3; | ||
end = strchr(path, '/'); | end = strchr(path, '/'); | ||
free(req->q.sec); | free(req->q.sec); |