From: Aurelien DARRAGON Date: Tue, 1 Apr 2025 17:32:58 +0000 (+0200) Subject: CLEANUP: log: adjust _lf_cbor_encode_byte() comment X-Git-Tag: v3.2-dev10~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6951d6f9259f778c0271da54a615c892184691;p=thirdparty%2Fhaproxy.git CLEANUP: log: adjust _lf_cbor_encode_byte() comment _lf_cbor_encode_byte() comment was not updated in c33b857df ("MINOR: log: support true cbor binary encoding") to reflect the new behavior. Indeed, binary form is now supported. Updating the comment that says otherwise. --- diff --git a/src/log.c b/src/log.c index 1ddac9cb0..7445ada0b 100644 --- a/src/log.c +++ b/src/log.c @@ -2011,8 +2011,6 @@ static char *_encode_byte_hex(char *start, char *stop, unsigned char byte) } /* lf cbor function ptr used to encode a single byte according to RFC8949 - * - * for now only hex form is supported. * * The function may only be called under CBOR context (that is when * LOG_OPT_ENCODE_CBOR option is set).