summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 23:16:26 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-22 23:21:17 +0100
commit31b45854891f194c46629185b4bb494691f06441 (patch)
treebc4a763b55217820343a280ff7b9acd93c72446a /lib/util
parentc69afbbfd080c6a0f0d6b6db8745171b3cbc7830 (diff)
downloadsamba-31b45854891f194c46629185b4bb494691f06441.tar.gz
samba-31b45854891f194c46629185b4bb494691f06441.tar.bz2
samba-31b45854891f194c46629185b4bb494691f06441.zip
convert_string_talloc_convenience - print out the input buffer in a better way (using dump_data since it isn't always directly readable)
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/charset/charcnv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util/charset/charcnv.c b/lib/util/charset/charcnv.c
index efdb3ed2b3..e9f6ab0d94 100644
--- a/lib/util/charset/charcnv.c
+++ b/lib/util/charset/charcnv.c
@@ -237,7 +237,8 @@ convert:
reason="Illegal multibyte sequence";
break;
}
- DEBUG(0,("Conversion error: %s(%s)\n",reason,inbuf));
+ DEBUG(0,("Conversion error: %s - ",reason));
+ dump_data(0, (const uint8_t *) inbuf, i_len);
talloc_free(ob);
return (size_t)-1;
}