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]
/
transport.c
diff --git
a/transport.c
b/transport.c
index 3dfb03c06ed82102f60045d6889db97cf036651e..efecb65258ba95ee743f0e3ca178e74e2756e7d1 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-1069,7
+1069,7
@@
int transport_fetch_refs(struct transport *transport, const struct ref *refs)
void transport_unlock_pack(struct transport *transport)
{
if (transport->pack_lockfile) {
- unlink(transport->pack_lockfile);
+ unlink
_or_warn
(transport->pack_lockfile);
free(transport->pack_lockfile);
transport->pack_lockfile = NULL;
}