diff options
author | phintuka <phintuka> | 2007-06-11 19:41:07 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-06-11 19:41:07 +0000 |
commit | 39052f664d4c976b0a594537d3967117392f4160 (patch) | |
tree | 04a754d7dd978b50c0c2df63c1f84185825a5948 | |
parent | 71ba15d264f82a9101409f9ef68799627413edb0 (diff) | |
download | xineliboutput-39052f664d4c976b0a594537d3967117392f4160.tar.gz xineliboutput-39052f664d4c976b0a594537d3967117392f4160.tar.bz2 |
Add index of failure point to error message
-rw-r--r-- | tools/iconv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/iconv.h b/tools/iconv.h index e4ab33e3..0402c70b 100644 --- a/tools/iconv.h +++ b/tools/iconv.h @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: iconv.h,v 1.2 2007-03-27 02:38:44 phintuka Exp $ + * $Id: iconv.h,v 1.3 2007-06-11 19:41:07 phintuka Exp $ * */ @@ -83,7 +83,7 @@ cString cIConv::Translate(const char *Text) const return cString(buf, true); } - LOGERR("cIConv: iconv(%s) failed", Text); + LOGERR("cIConv: iconv(%s) failed at %d", Text, (int)(in - Text)); free(buf); #endif |