[BACK]Return to cgi.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/cgi.c between version 1.164 and 1.165

version 1.164, 2018/12/30 00:49:54 version 1.165, 2019/01/31 23:00:23
Line 1178  parse_path_info(struct req *req, const char *path)
Line 1178  parse_path_info(struct req *req, const char *path)
         }          }
   
         /* 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);

Legend:
Removed from v.1.164  
changed lines
  Added in v.1.165

CVSweb