Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
info/grafts: allow trailing whitespaces at the end of line
[gitweb.git]
/
lockfile.c
diff --git
a/lockfile.c
b/lockfile.c
index 984eb320fc7b3c97537556f22bef8077d52b389d..eb931eded5a6ed20f1d80dadf08cbb8009d85767 100644
(file)
--- a/
lockfile.c
+++ b/
lockfile.c
@@
-109,7
+109,7
@@
static char *resolve_symlink(char *p, size_t s)
* link is a relative path, so I must replace the
* last element of p with it.
*/
- char *r = (char*)last_path_elm(p);
+ char *r = (char
*)last_path_elm(p);
if (r - p + link_len < s)
strcpy(r, link);
else {