Browse Source

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()
maint
Junio C Hamano 6 years ago
parent
commit
bca6aba72e
  1. 2
      pkt-line.c

2
pkt-line.c

@ -119,7 +119,7 @@ void packet_buf_delim(struct strbuf *buf) @@ -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";


Loading…
Cancel
Save