Switch to unified view

a/src/internfile/mh_mail.cpp b/src/internfile/mh_mail.cpp
...
...
505
    string filename;
505
    string filename;
506
    map<string,string>::const_iterator it;
506
    map<string,string>::const_iterator it;
507
    it = content_disposition.params.find(string("filename"));
507
    it = content_disposition.params.find(string("filename"));
508
    if (it != content_disposition.params.end())
508
    if (it != content_disposition.params.end())
509
    filename = it->second;
509
    filename = it->second;
510
510
    if (filename.empty()) {
511
  it = content_type.params.find(string("name"));
512
  if (it != content_type.params.end())
513
      filename = it->second;
514
    }
515
  
511
    if (doc->isMessageRFC822()) {
516
    if (doc->isMessageRFC822()) {
512
    LOGDEB2(("walkmime: message/RFC822 part\n"));
517
    LOGDEB2(("walkmime: message/RFC822 part\n"));
513
    
518
    
514
    // The first part is the already parsed message.  Call
519
    // The first part is the already parsed message.  Call
515
    // processMsg instead of walkmime so that mail headers get
520
    // processMsg instead of walkmime so that mail headers get