Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pkt-line: add functions to read/write flush terminated packet streams
[gitweb.git]
/
http-backend.c
diff --git
a/http-backend.c
b/http-backend.c
index adc8c8c3da6aaabe9f279b2a9841fc924ae39c1d..eef0a361f4f9bcc7f8fb278268334cb40a32fcb3 100644
(file)
--- a/
http-backend.c
+++ b/
http-backend.c
@@
-464,7
+464,7
@@
static void get_info_refs(struct strbuf *hdr, char *arg)
hdr_str(hdr, content_type, buf.buf);
end_headers(hdr);
- packet_write(1, "# service=git-%s\n", svc->name);
+ packet_write
_fmt
(1, "# service=git-%s\n", svc->name);
packet_flush(1);
argv[0] = svc->name;