version 1.22, 2011/12/10 00:06:34 |
version 1.23, 2011/12/10 10:59:21 |
Line 159 kval_query(struct query *q, const struct kval *fields, |
|
Line 159 kval_query(struct query *q, const struct kval *fields, |
|
q->whatis = 1; |
q->whatis = 1; |
} |
} |
|
|
/* Section "0" means no section when in legacy mode. */ |
/* |
|
* Section "0" means no section when in legacy mode. |
|
* For some man.cgi scripts, "default" arch is none. |
|
*/ |
|
|
if (q->legacy && NULL != q->sec && 0 == strcmp(q->sec, "0")) |
if (q->legacy && NULL != q->sec) |
q->sec = NULL; |
if (0 == strcmp(q->sec, "0")) |
|
q->sec = NULL; |
|
if (q->legacy && NULL != q->arch) |
|
if (0 == strcmp(q->arch, "default")) |
|
q->arch = NULL; |
} |
} |
|
|
/* |
/* |