]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: log: adjust _lf_cbor_encode_byte() comment
authorAurelien DARRAGON <adarragon@haproxy.com>
Tue, 1 Apr 2025 17:32:58 +0000 (19:32 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Thu, 3 Apr 2025 15:52:56 +0000 (17:52 +0200)
_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.

src/log.c

index 1ddac9cb064970c168d1e2030d35002178f19b29..7445ada0b8fcff349c56c4a491ebbaac3b31d546 100644 (file)
--- 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).