Switch to unified view

a/src/utils/transcode.cpp b/src/utils/transcode.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: transcode.cpp,v 1.9 2006-11-20 15:29:08 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: transcode.cpp,v 1.10 2007-05-30 12:31:19 dockes Exp $ (C) 2004 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
98
    icopen = false;
98
    icopen = false;
99
    ret = true;
99
    ret = true;
100
 error:
100
 error:
101
    if (icopen)
101
    if (icopen)
102
    iconv_close(ic);
102
    iconv_close(ic);
103
    //fprintf(stderr, "TRANSCODE OUT:\n%s\n", out.c_str());
104
    if (mecnt)
103
    if (mecnt)
105
    LOGINFO(("transcode: [%s]->[%s] %d errors\n", 
104
    LOGDEB(("transcode: [%s]->[%s] %d errors\n", 
106
         icode.c_str(), ocode.c_str(), mecnt));
105
         icode.c_str(), ocode.c_str(), mecnt));
107
    if (ecnt)
106
    if (ecnt)
108
    *ecnt = mecnt;
107
    *ecnt = mecnt;
109
    return ret;
108
    return ret;
110
}
109
}