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

Diff for /mandoc/cgi.c between version 1.29 and 1.30

version 1.29, 2011/12/11 00:22:47 version 1.30, 2011/12/12 02:00:49
Line 792  pg_show(const struct req *req, char *path)
Line 792  pg_show(const struct req *req, char *path)
         }          }
   
         memset(&ps, 0, sizeof(struct manpaths));          memset(&ps, 0, sizeof(struct manpaths));
         manpath_manconf("etc/catman.conf", &ps);          manpath_manconf(&ps, "etc/catman.conf");
   
         if (vol >= (unsigned int)ps.sz) {          if (vol >= (unsigned int)ps.sz) {
                 resp_error400();                  resp_error400();
Line 878  pg_search(const struct req *req, char *path)
Line 878  pg_search(const struct req *req, char *path)
         }          }
   
         memset(&ps, 0, sizeof(struct manpaths));          memset(&ps, 0, sizeof(struct manpaths));
         manpath_manconf("etc/catman.conf", &ps);          manpath_manconf(&ps, "etc/catman.conf");
   
         /*          /*
          * Poor man's tokenisation: just break apart by spaces.           * Poor man's tokenisation: just break apart by spaces.

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30

CVSweb