From db927a34de2a7faad9a89dbe96ceccfce1b18433 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 17 Mar 2016 22:06:31 +0000 Subject: make man(1) mode the default rather than apropos(1) mode --- usr.bin/mandoc/cgi.c | 5 +++-- 1 file 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 - * Copyright (c) 2014, 2015 Ingo Schwarze + * Copyright (c) 2014, 2015, 2016 Ingo Schwarze * * 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. */ -- cgit v1.2.3