summaryrefslogtreecommitdiff
path: root/cgit-70.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgit-70.c')
-rw-r--r--cgit-70.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/cgit-70.c b/cgit-70.c
index 90ddb6f..14e1425 100644
--- a/cgit-70.c
+++ b/cgit-70.c
@@ -303,7 +303,6 @@ static void querystring_cb(const char *name, const char *value)
if (*value == '/')
value++;
ctx.qry.url = xstrdup(value);
- fprintf(stderr, " --- got url: %s\n", value);
cgit_parse_url(value);
} else if (!strcmp(name, "qt")) {
ctx.qry.grep = xstrdup(value);
@@ -950,24 +949,18 @@ out:
static void cgit_parse_args(int argc, const char **argv)
{
while (--argc > 4);
- fprintf(stderr, " -- argc: %d\n", argc);
switch (++argc){
case 5:
ctx.env.server_port = xstrdup(argv[4]);
- fprintf(stderr, "server_port: %s\n", ctx.env.server_port);
case 4:
ctx.env.server_name = xstrdup(argv[3]);
- fprintf(stderr, "server_name: %s\n", ctx.env.server_name);
case 3:
ctx.env.query_string = xstrdup(argv[2]);
ctx.qry.raw = xstrdup(argv[2]);
- fprintf(stderr, "query_string: %s\n", ctx.env.query_string);
case 2:
ctx.env.gopher_search = xstrdup(argv[1]);
- fprintf(stderr, "gopher_search: %s\n", ctx.env.gopher_search);
case 1:
ctx.env.script_name = xstrdup(argv[0]);
- fprintf(stderr, "script_name: %s\n", ctx.env.script_name);
}
}