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.8 2006-04-28 07:23:46 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: transcode.cpp,v 1.9 2006-11-20 15:29:08 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
...
...
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());
103
    //fprintf(stderr, "TRANSCODE OUT:\n%s\n", out.c_str());
104
    if (mecnt)
104
    if (mecnt)
105
  LOGDEB(("transcode: %d errors\n", mecnt));
105
  LOGINFO(("transcode: [%s]->[%s] %d errors\n", 
106
       icode.c_str(), ocode.c_str(), mecnt));
106
    if (ecnt)
107
    if (ecnt)
107
    *ecnt = mecnt;
108
    *ecnt = mecnt;
108
    return ret;
109
    return ret;
109
}
110
}
110
111