From 65a30b6a8483e0d463be04baf7c765ac4de2aa90 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 12 Jul 2014 01:55:30 +0000 Subject: fix the two manual links on the index page --- cgi.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/cgi.c b/cgi.c index 1672bffc..275d6001 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.63 2014/07/11 22:27:35 schwarze Exp $ */ +/* $Id: cgi.c,v 1.64 2014/07/12 01:55:30 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -415,13 +415,14 @@ resp_index(const struct req *req) "mandoc\n" ""); resp_searchform(req); - puts("

\n" - "This web interface is documented in the " - "" - "man.cgi manual, and the " - "" - "apropos manual explains the query syntax.\n" - "

"); + printf("

\n" + "This web interface is documented in the " + "" + "man.cgi manual, and the " + "" + "apropos manual explains the query syntax.\n" + "

\n", + scriptname, scriptname); resp_end_html(); } -- cgit v1.2.3-56-ge451