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

Diff for /mandoc/cgi.c between version 1.86 and 1.87

version 1.86, 2014/07/25 17:34:06 version 1.87, 2014/07/25 17:52:04
Line 874  format(const struct req *req, const char *file)
Line 874  format(const struct req *req, const char *file)
         }          }
   
         snprintf(opts, sizeof(opts), "fragment,man=%s?"          snprintf(opts, sizeof(opts), "fragment,man=%s?"
             "manpath=%s&query=%%N&sec=%%S&arch=%s",              "manpath=%s&query=%%N&sec=%%S%s%s",
             scriptname, req->q.manpath,              scriptname, req->q.manpath,
               req->q.arch ? "&arch=" : "",
             req->q.arch ? req->q.arch : "");              req->q.arch ? req->q.arch : "");
   
         mparse_result(mp, &mdoc, &man, NULL);          mparse_result(mp, &mdoc, &man, NULL);

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

CVSweb