From 1f68d22ac8b3e3ec54ae464acdaeaf28b7e07fe1 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 25 Jun 2008 21:18:24 +0200 Subject: [PATCH] str_hexdump() now uses the new hexdumper. --- lib/stkstring.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/lib/stkstring.c b/lib/stkstring.c index 13bc8e06..1f087a2e 100644 --- a/lib/stkstring.c +++ b/lib/stkstring.c @@ -1,5 +1,17 @@ +/* + * UCW Library -- Strings Allocated on the Stack + * + * (c) 2005--2007 Martin Mares + * (c) 2005 Tomas Valla + * (c) 2008 Pavel Charvat + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. + */ + #include "lib/lib.h" #include "lib/stkstring.h" +#include "lib/string.h" #include @@ -75,13 +87,7 @@ stk_vprintf_internal(const char *fmt, va_list args) void stk_hexdump_internal(char *dst, const byte *src, uns n) { - for (uns i=0; i