summaryrefslogtreecommitdiffstats
path: root/source/web/cgi.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-11-19 02:48:23 +0000
committerMartin Pool <mbp@samba.org>2001-11-19 02:48:23 +0000
commit91e07a7fdc47b2baf42fc06e77d1e1d883111668 (patch)
treeb6ba671d40a56facb68227b38ce3074d78e04099 /source/web/cgi.c
parentcdad7ad8691e98e69742e829aa21140161ffb245 (diff)
downloadsamba-91e07a7fdc47b2baf42fc06e77d1e1d883111668.tar.gz
samba-91e07a7fdc47b2baf42fc06e77d1e1d883111668.tar.xz
samba-91e07a7fdc47b2baf42fc06e77d1e1d883111668.zip
Fix const warning. Doxyfy comment.
Diffstat (limited to 'source/web/cgi.c')
-rw-r--r--source/web/cgi.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/source/web/cgi.c b/source/web/cgi.c
index e1b26d99b40..9a029684ce1 100644
--- a/source/web/cgi.c
+++ b/source/web/cgi.c
@@ -497,11 +497,14 @@ static void cgi_download(char *file)
-/***************************************************************************
-setup the cgi framework, handling the possability that this program is either
-run as a true cgi program by a web browser or is itself a mini web server
- ***************************************************************************/
-void cgi_setup(char *rootdir, int auth_required)
+/**
+ * @brief Setup the CGI framework.
+ *
+ * Setup the cgi framework, handling the possibility that this program
+ * is either run as a true CGI program with a gateway to a web server, or
+ * is itself a mini web server.
+ **/
+void cgi_setup(const char *rootdir, int auth_required)
{
BOOL authenticated = False;
char line[1024];