]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fixup a comment in fmtutils.c.
authorDenis Ovsienko <[email protected]>
Mon, 27 Jul 2020 19:19:09 +0000 (20:19 +0100)
committerDenis Ovsienko <[email protected]>
Mon, 27 Jul 2020 19:19:09 +0000 (20:19 +0100)
[skip ci]

fmtutils.c

index 4f0ebe90e68eec4b59096f06fcb09b4faf358112..5c7ddadfe1918df413acbe658d534e3476e23e86 100644 (file)
@@ -244,7 +244,7 @@ utf_16le_to_utf_8_truncated(const wchar_t *utf_16, char *utf_8,
         * (We started out with enough room, thanks to the test
         * for a zero-length buffer at the beginning, and if
         * there wasn't enough room for any character we wanted
-        * to put into the the buffer *plus* a trailing '\0',
+        * to put into the buffer *plus* a trailing '\0',
         * we'd have quit before putting it into the buffer,
         * and thus would have left enough room for the trailing
         * '\0'.)