]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: tools: fix misleading comment above function LIM2A
authorIoannis Cherouvim <743305+cherouvim@users.noreply.github.com>
Wed, 24 Oct 2018 07:05:19 +0000 (10:05 +0300)
committerWilly Tarreau <w@1wt.eu>
Fri, 26 Oct 2018 03:00:48 +0000 (05:00 +0200)
The function produces ASCII, but its comment was copied from U2H which
produces HTML.

include/common/standard.h

index 3e13f301c3bc003abe52a369c8ae6a78e71cdc0d..3f8d2d0729c9d499614e9bbcdb53c9bf56392146 100644 (file)
@@ -195,7 +195,7 @@ static inline const char *U2H(unsigned long long n)
        return ret;
 }
 
-/* returns a locally allocated string containing the HTML representation of
+/* returns a locally allocated string containing the ASCII representation of
  * the number 'n' in decimal. Up to NB_ITOA_STR calls may be used in the same
  * function call (eg: printf), shared with the other similar functions making
  * use of itoa_str[].