diff options
author | 2016-03-17 22:06:30 +0000 | |
---|---|---|
committer | 2016-03-17 22:06:30 +0000 | |
commit | abf19dc9d8048395e8ed58057f1e0e319eb0fc98 (patch) | |
tree | 6905305a790fcc6381ed4110f823b556fe8cc6be /usr.bin/mandoc/cgi.c | |
parent | Show modes for buffers more clearly. ok jasper@ (diff) | |
download | wireguard-openbsd-abf19dc9d8048395e8ed58057f1e0e319eb0fc98.tar.xz wireguard-openbsd-abf19dc9d8048395e8ed58057f1e0e319eb0fc98.zip |
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.c | 5 |
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. */ |