Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/set-packet-header-signature-fix'
author
Junio C Hamano
<gitster@pobox.com>
Sun, 19 May 2019 07:45:35 +0000
(16:45 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 19 May 2019 07:45:35 +0000
(16:45 +0900)
Code clean-up.
* jc/set-packet-header-signature-fix:
pkt-line: drop 'const'-ness of a param to set_packet_header()
pkt-line.c
patch
|
blob
|
history
raw
(from parent 1:
8cbad49
)
diff --git
a/pkt-line.c
b/pkt-line.c
index c9ed780d0be02aa111786d500cd4eea2cc7ccd25..a0e87b1e81408e17b4bb8e99bc162b6e7bce4012 100644
(file)
--- a/
pkt-line.c
+++ b/
pkt-line.c
@@
-119,7
+119,7
@@
void packet_buf_delim(struct strbuf *buf)
strbuf_add(buf, "0001", 4);
}
-void set_packet_header(char *buf,
const
int size)
+void set_packet_header(char *buf, int size)
{
static char hexchar[] = "0123456789abcdef";