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

Diff for /mandoc/cgi.c between version 1.175 and 1.176

version 1.175, 2021/08/19 15:23:36 version 1.176, 2021/11/05 17:04:10
Line 879  resp_format(const struct req *req, const char *file)
Line 879  resp_format(const struct req *req, const char *file)
         int              fd;          int              fd;
         int              usepath;          int              usepath;
   
         if (-1 == (fd = open(file, O_RDONLY, 0))) {          if (-1 == (fd = open(file, O_RDONLY))) {
                 puts("<p>You specified an invalid manual file.</p>");                  puts("<p>You specified an invalid manual file.</p>");
                 return;                  return;
         }          }

Legend:
Removed from v.1.175  
changed lines
  Added in v.1.176

CVSweb