Switch to unified view

a/src/internfile/internfile.cpp b/src/internfile/internfile.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: internfile.cpp,v 1.11 2005-11-24 07:16:15 dockes Exp $ (C) 2004 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: internfile.cpp,v 1.12 2005-12-06 08:35:48 dockes Exp $ (C) 2004 J.F.Dockes";
3
#endif
3
#endif
4
#include <unistd.h>
4
#include <unistd.h>
5
#include <sys/types.h>
5
#include <sys/types.h>
6
#include <sys/stat.h>
6
#include <sys/stat.h>
7
#include <errno.h>
7
#include <errno.h>
...
...
159
    // etc.,  all text converted to utf8
159
    // etc.,  all text converted to utf8
160
    MimeHandler::Status mhs = 
160
    MimeHandler::Status mhs = 
161
    m_handler->mkDoc(m_cfg, m_fn, m_mime, doc, ipath);
161
    m_handler->mkDoc(m_cfg, m_fn, m_mime, doc, ipath);
162
    FileInterner::Status ret = FIError;
162
    FileInterner::Status ret = FIError;
163
    switch (mhs) {
163
    switch (mhs) {
164
    case MimeHandler::MHError: break;
164
    case MimeHandler::MHError: 
165
  LOGERR(("FileInterner::internfile: error parsing %s\n", m_fn.c_str()));
166
  break;
165
    case MimeHandler::MHDone: ret = FIDone;break;
167
    case MimeHandler::MHDone: ret = FIDone;break;
166
    case MimeHandler::MHAgain: ret = FIAgain;break;
168
    case MimeHandler::MHAgain: ret = FIAgain;break;
167
    }
169
    }
168
170
169
    doc.mimetype = m_mime;
171
    doc.mimetype = m_mime;