X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9c8be943f72b6f1bda5a31ce401899c3dd734e98..3c32fe07717f27fc891b66ccd06057fb810d03ad:/cgit.c diff --git a/cgit.c b/cgit.c index e09c86e..166fbc6 100644 --- a/cgit.c +++ b/cgit.c @@ -156,6 +156,8 @@ static void querystring_cb(const char *name, const char *value) ctx.qry.mimetype = xstrdup(value); } else if (!strcmp(name, "s")){ ctx.qry.sort = xstrdup(value); + } else if (!strcmp(name, "showmsg")) { + ctx.qry.showmsg = atoi(value); } }