X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/94182d6031df0d956a94ecd7ece233e345468961..1c581a072651524f3b0d91f33e22a42c4166dd96:/cgit.c diff --git a/cgit.c b/cgit.c index 5937b9e..3ed1935 100644 --- a/cgit.c +++ b/cgit.c @@ -314,8 +314,6 @@ static void querystring_cb(const char *name, const char *value) ctx.qry.path = trim_end(value, '/'); } else if (!strcmp(name, "name")) { ctx.qry.name = xstrdup(value); - } else if (!strcmp(name, "mimetype")) { - ctx.qry.mimetype = xstrdup(value); } else if (!strcmp(name, "s")) { ctx.qry.sort = xstrdup(value); } else if (!strcmp(name, "showmsg")) { @@ -651,7 +649,7 @@ static inline void open_auth_filter(const char *function) static inline void authenticate_post(void) { char buffer[MAX_AUTHENTICATION_POST_BYTES]; - int len; + unsigned int len; open_auth_filter("authenticate-post"); len = ctx.env.content_length;