summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/web/cgi.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c
index e1b26d99b4..9a029684ce 100644
--- a/source3/web/cgi.c
+++ b/source3/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];