Switch to unified view

a/src/internfile/mh_mail.cpp b/src/internfile/mh_mail.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: mh_mail.cpp,v 1.10 2005-11-18 13:23:46 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: mh_mail.cpp,v 1.11 2005-11-24 07:16:15 dockes Exp $ (C) 2005 J.F.Dockes";
3
#endif
3
#endif
4
4
5
#include <stdio.h>
5
#include <stdio.h>
6
#include <fcntl.h>
6
#include <fcntl.h>
7
#include <errno.h>
7
#include <errno.h>
8
#include <unistd.h>
8
#include <unistd.h>
9
9
10
#include <map>
10
#include <map>
11
#include <sstream>
11
#include <sstream>
12
using std::stringstream;
13
using std::map;
14
12
15
#include "mimehandler.h"
13
#include "mimehandler.h"
16
#include "debuglog.h"
14
#include "debuglog.h"
17
#include "csguess.h"
15
#include "csguess.h"
18
#include "readfile.h"
16
#include "readfile.h"
...
...
26
#include "mh_html.h"
24
#include "mh_html.h"
27
25
28
// binc imap mime definitions
26
// binc imap mime definitions
29
#include "mime.h"
27
#include "mime.h"
30
28
29
#ifndef NO_NAMESPACES
30
using namespace std;
31
#endif /* NO_NAMESPACES */
32
31
static void 
33
static void 
32
walkmime(RclConfig *cnf, string &out, Binc::MimePart& doc, int depth);
34
walkmime(RclConfig *cnf, string &out, Binc::MimePart& doc, int depth);
33
34
using namespace std;
35
35
36
MimeHandlerMail::~MimeHandlerMail()
36
MimeHandlerMail::~MimeHandlerMail()
37
{
37
{
38
    if (vfp) {
38
    if (vfp) {
39
    fclose((FILE *)vfp);
39
    fclose((FILE *)vfp);