[BACK]Return to cgi.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/cgi.c between version 1.17 and 1.18

version 1.17, 2014/07/19 13:15:07 version 1.18, 2014/07/21 15:44:22
Line 560 
Line 560 
                  * without any delay.                   * without any delay.
                  */                   */
                 printf("Status: 303 See Other\r\n");                  printf("Status: 303 See Other\r\n");
                 printf("Location: %s/%s/%s?",                  printf("Location: http://%s%s/%s/%s?",
                     scriptname, req->q.manpath, r[0].file);                      HTTP_HOST, scriptname, req->q.manpath, r[0].file);
                 http_printquery(req);                  http_printquery(req);
                 printf("\r\n"                  printf("\r\n"
                      "Content-Type: text/html; charset=utf-8\r\n"                       "Content-Type: text/html; charset=utf-8\r\n"

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18