author | zautrix <zautrix> | 2004-10-16 10:18:46 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-16 10:18:46 (UTC) |
commit | 023b3c542a6dd4d1c4b53dba6bb2c68f605a7917 (patch) (side-by-side diff) | |
tree | 96929f98d9de314dc48f0a89efa5d93a78644a3d /kmicromail/libmailwrapper/genericwrapper.cpp | |
parent | 2897677d61fd8d33355611b5b951e2bee1136b9c (diff) | |
download | kdepimpi-023b3c542a6dd4d1c4b53dba6bb2c68f605a7917.zip kdepimpi-023b3c542a6dd4d1c4b53dba6bb2c68f605a7917.tar.gz kdepimpi-023b3c542a6dd4d1c4b53dba6bb2c68f605a7917.tar.bz2 |
umlaut fix for ompi
Diffstat (limited to 'kmicromail/libmailwrapper/genericwrapper.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kmicromail/libmailwrapper/genericwrapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmicromail/libmailwrapper/genericwrapper.cpp b/kmicromail/libmailwrapper/genericwrapper.cpp index e691082..d89a5f9 100644 --- a/kmicromail/libmailwrapper/genericwrapper.cpp +++ b/kmicromail/libmailwrapper/genericwrapper.cpp @@ -257,53 +257,53 @@ void Genericwrapper::traverseBody(RecBodyP&target,mailmessage*message,mailmime*m /* the own header is always at recursion 0 - we don't need that */ if (current_rec > 0) { part->setPositionlist(countlist); r = mailmessage_fetch_section(message,mime,&data,&len); part->setSize(len); part->setPositionlist(countlist); b = gen_attachment_id(); part->setIdentifier(b); part->setType("message"); part->setSubtype("rfc822"); bodyCache[b]=new encodedString(data,len); target->addPart(part); } if (mime->mm_data.mm_message.mm_msg_mime != NULL) { traverseBody(target,message,mime->mm_data.mm_message.mm_msg_mime,countlist,current_rec+1); } } break; } } RecBodyP Genericwrapper::parseMail( mailmessage * msg ) { int err = MAILIMF_NO_ERROR; - mailmime_single_fields fields; + //mailmime_single_fields fields; /* is bound to msg and will be freed there */ mailmime * mime=0; RecBodyP body = new RecBody(); - memset(&fields, 0, sizeof(struct mailmime_single_fields)); + //memset(&fields, 0, sizeof(struct mailmime_single_fields)); err = mailmessage_get_bodystructure(msg,&mime); QValueList<int>recList; traverseBody(body,msg,mime,recList); return body; } QString Genericwrapper::parseAddressList( mailimf_address_list *list ) { QString result( "" ); bool first = true; if (list == 0) return result; for ( clistiter *current = clist_begin( list->ad_list ); current != NULL; current = current->next ) { mailimf_address *addr = (mailimf_address *) current->data; if ( !first ) { result.append( "," ); } else { first = false; } switch ( addr->ad_type ) { case MAILIMF_ADDRESS_MAILBOX: |