summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2019-05-19 16:45:35 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-05-19 16:45:35 +0900
commitbca6aba72e85b87142ae02a0ea2a486f9581ead4 (patch)
treef93ad4020c27fa17ddabf2ec99241b71d1cb87dd
parentMerge branch 'cb/http-push-null-in-message-fix' (diff)
parentpkt-line: drop 'const'-ness of a param to set_packet_header() (diff)
downloadtgif-bca6aba72e85b87142ae02a0ea2a486f9581ead4.tar.xz
Merge branch 'jc/set-packet-header-signature-fix'
Code clean-up. * jc/set-packet-header-signature-fix: pkt-line: drop 'const'-ness of a param to set_packet_header()
-rw-r--r--pkt-line.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkt-line.c b/pkt-line.c
index c9ed780d0b..a0e87b1e81 100644
--- 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";