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()
This commit is contained in:
Junio C Hamano 2019-05-19 16:45:35 +09:00
commit bca6aba72e

View File

@ -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";