diff options
Diffstat (limited to 'source/ui-blob.c')
-rw-r--r--source/ui-blob.c2
1 file changed, 1 insertion, 1 deletion
diff --git a/source/ui-blob.c b/source/ui-blob.c
index e1503e0..4690bb5 100644
--- a/source/ui-blob.c
+++ b/source/ui-blob.c
@@ -133,7 +133,7 @@ int cgit_print_file(char *path, const char *head, int file_only, int html_escape
if (type == OBJ_BAD)
return -1;
if (cgit_blob_too_large(size))
- return -1;
+ return -2;
buf = odb_read_object(the_repository->objects, &oid, &type, &size);
if (!buf)
return -1;