summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2016-03-17 22:06:31 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2016-03-17 22:06:31 +0000
commitdb927a34de2a7faad9a89dbe96ceccfce1b18433 (patch)
treeb67b1fa88b42bb1d2b0778bd8f8ff140429644fc /usr.bin/mandoc/cgi.c
parent5959c550303309c814e17f5019332e3dfcfddc05 (diff)
make man(1) mode the default rather than apropos(1) mode
Diffstat (limited to 'usr.bin/mandoc/cgi.c')
-rw-r--r--usr.bin/mandoc/cgi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/mandoc/cgi.c b/usr.bin/mandoc/cgi.c
index b64a243a0d0..0ec2176f7b6 100644
--- a/usr.bin/mandoc/cgi.c
+++ b/usr.bin/mandoc/cgi.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: cgi.c,v 1.56 2016/03/17 21:22:43 schwarze Exp $ */
+/* $OpenBSD: cgi.c,v 1.57 2016/03/17 22:06:30 schwarze Exp $ */
/*
* 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
@@ -1030,6 +1030,7 @@ main(void)
}
memset(&req, 0, sizeof(struct req));
+ req.q.equal = 1;
pathgen(&req);
/* Parse the path info and the query string. */