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

Diff for /mandoc/cgi.c between version 1.27 and 1.28

version 1.27, 2011/12/10 23:04:31 version 1.28, 2011/12/10 23:09:25
Line 853  pg_search(const struct req *req, char *path)
Line 853  pg_search(const struct req *req, char *path)
         struct opts       opt;          struct opts       opt;
         struct expr      *expr;          struct expr      *expr;
   
         if (req->q.manroot < 0) {          if (req->q.manroot < 0 || 0 == req->psz) {
                 resp_search(NULL, 0, (void *)req);                  resp_search(NULL, 0, (void *)req);
                 return;                  return;
         }          }

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

CVSweb