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

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

version 1.15, 2011/12/07 16:08:55 version 1.17, 2011/12/08 00:48:28
Line 341  resp_searchform(const struct req *req)
Line 341  resp_searchform(const struct req *req)
         html_print(progname);          html_print(progname);
         printf("/search.html\" METHOD=\"get\">\n");          printf("/search.html\" METHOD=\"get\">\n");
         printf("<FIELDSET>\n"          printf("<FIELDSET>\n"
                  "<LEGEND>Search Parameters</LEGEND>\n"
                "<INPUT TYPE=\"submit\" NAME=\"op\" "                 "<INPUT TYPE=\"submit\" NAME=\"op\" "
                 "VALUE=\"Whatis\"> or \n"                  "VALUE=\"Whatis\"> or \n"
                "<INPUT TYPE=\"submit\" NAME=\"op\" "                 "<INPUT TYPE=\"submit\" NAME=\"op\" "
Line 468  resp_search(struct res *r, size_t sz, void *arg)
Line 469  resp_search(struct res *r, size_t sz, void *arg)
                 puts("</TD></TR>");                  puts("</TD></TR>");
         }          }
   
           puts("</TABLE>");
   
         resp_end_html();          resp_end_html();
 }  }
   
Line 727  pg_show(const struct manpaths *ps, const struct req *r
Line 730  pg_show(const struct manpaths *ps, const struct req *r
         else if (NULL == memchr(fn, '\0', val.size - (fn - cp)))          else if (NULL == memchr(fn, '\0', val.size - (fn - cp)))
                 resp_baddb();                  resp_baddb();
         else {          else {
                 strlcpy(file, ps->paths[vol], MAXPATHLEN);                  strlcpy(file, cache, MAXPATHLEN);
                 strlcat(file, "/", MAXPATHLEN);                  strlcpy(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.15  
changed lines
  Added in v.1.17

CVSweb