summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-03-17 22:06:44 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-03-17 22:06:44 +0000
commit72df3e1d32f66115a62b6fd2a8a0acc0e9173468 (patch)
treea8652759ee0825531af7863c2930340fb61fee9e /cgi.c
parentcbc547850ac0e6383e8417ec88a20424a5a6108e (diff)
downloadmandoc-72df3e1d32f66115a62b6fd2a8a0acc0e9173468.tar.gz
make man(1) mode the default rather than apropos(1) mode
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index 06a04837..9aee1ab3 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,7 +1,7 @@
/* $Id$ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@usta.de>
+ * Copyright (c) 2014, 2015, 2016 Ingo Schwarze <schwarze@usta.de>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -1032,6 +1032,7 @@ main(void)
}
memset(&req, 0, sizeof(struct req));
+ req.q.equal = 1;
pathgen(&req);
/* Parse the path info and the query string. */