]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-plain.c
Remove redundant calls to fmt("%s", ...)
[ps-cgit] / ui-plain.c
index 482d53a89f3d02d231f71fbee5d70874a618c1b4..6b0d84b7a0aec7c8762227edf4c35899d2bd2cce 100644 (file)
@@ -95,7 +95,7 @@ static int print_object(const unsigned char *sha1, const char *path)
                else
                        ctx.page.mimetype = "text/plain";
        }
-       ctx.page.filename = fmt("%s", path);
+       ctx.page.filename = path;
        ctx.page.size = size;
        ctx.page.etag = sha1_to_hex(sha1);
        cgit_print_http_headers(&ctx);