diff options
Diffstat (limited to 'ui-blob.c')
| -rw-r--r-- | ui-blob.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -36,7 +36,7 @@ void cgit_print_blob(const char *hex, char *path) | |||
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | buf[size] = '\0'; | 38 | buf[size] = '\0'; |
| 39 | ctx.page.mimetype = "text/plain"; | 39 | ctx.page.mimetype = NULL; |
| 40 | ctx.page.filename = path; | 40 | ctx.page.filename = path; |
| 41 | cgit_print_http_headers(&ctx); | 41 | cgit_print_http_headers(&ctx); |
| 42 | write(htmlfd, buf, size); | 42 | write(htmlfd, buf, size); |
