Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
daemon: Strictly parse the "extra arg" part of the command
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index 363dcb9613f5f57a2ae31ea6f803caf44954475a..d24bff1e465d5b5e486ab461bd0548387736f109 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-189,7
+189,7
@@
static void remove_tempfile(void)
int i;
for (i = 0; i < ARRAY_SIZE(diff_temp); i++) {
if (diff_temp[i].name == diff_temp[i].tmp_path)
- unlink(diff_temp[i].name);
+ unlink
_or_warn
(diff_temp[i].name);
diff_temp[i].name = NULL;
}
}