diff options
author | KatolaZ <katolaz@freaknet.org> | 2018-07-29 08:13:09 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2018-07-29 08:13:09 +0100 |
commit | af460536388cc279d94194a57452a445b0e82cbb (patch) | |
tree | e08ffb7cf03405ea14ddb042397f4afdbc407e3d /cgit-70.c | |
parent | 3606ac71878450340905f71b6e202969b4ff889d (diff) |
minor tweaks and removed debug messages
Diffstat (limited to 'cgit-70.c')
-rw-r--r-- | cgit-70.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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); } } |