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); |