r3061: change a debug to help track down a charset problem
authorAndrew Tridgell <tridge@samba.org>
Tue, 19 Oct 2004 09:53:23 +0000 (09:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:01:55 +0000 (13:01 -0500)
(This used to be commit 4d2497b7f4cb6aa6fdf1e03b56f72b1022cb92b8)

source4/lib/charcnv.c

index 10063c9f3c18ada1efc4a0ff7d4c0c43d3c7c9d7..40e68df98490c67091b8d74074b75d80fb88afd9 100644 (file)
@@ -192,7 +192,8 @@ ssize_t convert_string_talloc(TALLOC_CTX *ctx, charset_t from, charset_t to,
 
        if (descriptor == (smb_iconv_t)-1 || descriptor == (smb_iconv_t)0) {
                /* conversion not supported, return -1*/
-               DEBUG(3, ("convert_string_talloc: conversion not supported!\n"));
+               DEBUG(3, ("convert_string_talloc: conversion from %s to %s not supported!\n",
+                         charset_name(from), charset_name(to)));
                return -1;
        }