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

Diff for /mandoc/cgi.c between version 1.17 and 1.18

version 1.17, 2011/12/08 00:48:28 version 1.18, 2011/12/08 18:39:14
Line 731  pg_show(const struct manpaths *ps, const struct req *r
Line 731  pg_show(const struct manpaths *ps, const struct req *r
                 resp_baddb();                  resp_baddb();
         else {          else {
                 strlcpy(file, cache, MAXPATHLEN);                  strlcpy(file, cache, MAXPATHLEN);
                 strlcpy(file, "/", MAXPATHLEN);                  strlcat(file, "/", MAXPATHLEN);
                 strlcat(file, fn, MAXPATHLEN);                  strlcat(file, fn, MAXPATHLEN);
                 if (0 == strcmp(cp, "cat"))                  if (0 == strcmp(cp, "cat"))
                         catman(file);                          catman(file);

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

CVSweb