From af460536388cc279d94194a57452a445b0e82cbb Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sun, 29 Jul 2018 08:13:09 +0100 Subject: minor tweaks and removed debug messages --- cgit-70.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'cgit-70.c') 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); } } -- cgit v1.2.3