improve transcode error printing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef lint
|
||||
static char rcsid[] = "@(#$Id: transcode.cpp,v 1.9 2006-11-20 15:29:08 dockes Exp $ (C) 2004 J.F.Dockes";
|
||||
static char rcsid[] = "@(#$Id: transcode.cpp,v 1.10 2007-05-30 12:31:19 dockes Exp $ (C) 2004 J.F.Dockes";
|
||||
#endif
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -100,9 +100,8 @@ bool transcode(const string &in, string &out, const string &icode,
|
||||
error:
|
||||
if (icopen)
|
||||
iconv_close(ic);
|
||||
//fprintf(stderr, "TRANSCODE OUT:\n%s\n", out.c_str());
|
||||
if (mecnt)
|
||||
LOGINFO(("transcode: [%s]->[%s] %d errors\n",
|
||||
LOGDEB(("transcode: [%s]->[%s] %d errors\n",
|
||||
icode.c_str(), ocode.c_str(), mecnt));
|
||||
if (ecnt)
|
||||
*ecnt = mecnt;
|
||||
|
||||
Reference in New Issue
Block a user