diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-05-19 16:45:35 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-19 16:45:35 +0900 |
commit | bca6aba72e85b87142ae02a0ea2a486f9581ead4 (patch) | |
tree | f93ad4020c27fa17ddabf2ec99241b71d1cb87dd /pkt-line.c | |
parent | Merge branch 'cb/http-push-null-in-message-fix' (diff) | |
parent | pkt-line: drop 'const'-ness of a param to set_packet_header() (diff) | |
download | tgif-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()
Diffstat (limited to 'pkt-line.c')
-rw-r--r-- | pkt-line.c | 2 |
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"; |