]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2006-09-15 19:06:47 by entropy]
authorentropy <entropy@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Fri, 15 Sep 2006 19:06:47 +0000 (19:06 +0000)
committerentropy <entropy@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Fri, 15 Sep 2006 19:06:47 +0000 (19:06 +0000)
debug spam reduced, comment typo fixed

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@718 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

plugin_iconv.c

index b21d70bf7f9e87a589fc593fa0c07acaa82e501d..b55e5625d90f99d9ccb7eb3c16cd9d21a23745f7 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: plugin_iconv.c,v 1.1 2006/09/15 19:00:50 entropy Exp $
+/* $Id: plugin_iconv.c,v 1.2 2006/09/15 19:06:47 entropy Exp $
  *
  * iconv charset conversion plugin
  *
@@ -23,6 +23,9 @@
  *
  *
  * $Log: plugin_iconv.c,v $
+ * Revision 1.2  2006/09/15 19:06:47  entropy
+ * debug spam reduced, comment typo fixed
+ *
  * Revision 1.1  2006/09/15 19:00:50  entropy
  * iconv charset converter plugin
  *
@@ -57,7 +60,7 @@
 
 
 /* iconv function, convert charsets */
-/* valid "to" and "from" charsets can be listed by running "iconv -list" from a shell */
+/* valid "to" and "from" charsets can be listed by running "iconv --list" from a shell */
 /* utf16 & utf32 encodings won't work, as they contain null bytes, confusing strlen */ 
 static void my_iconv(RESULT * result, RESULT * charset_from, RESULT * charset_to, RESULT * arg)
 {
@@ -83,7 +86,8 @@ static void my_iconv(RESULT * result, RESULT * charset_from, RESULT * charset_to
     if (cd != (iconv_t) (-1)) {
 
        do {
-           debug("plugin_iconv: calling iconv with %ld,[%s]/%ld,%ld", cd, source, source_left, dest_left);
+       
+           /* quite spammy: debug("plugin_iconv: calling iconv with %ld,[%s]/%ld,%ld", cd, source, source_left, dest_left); */
            if (iconv(cd, &source, &source_left, &dest_pos, &dest_left) == (size_t) (-1)) {
                switch (errno) {
                case EILSEQ: