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 | |||
@@ -277,13 +277,13 @@ void Genericwrapper::traverseBody(RecBodyP&target,mailmessage*message,mailmime*m | |||
277 | 277 | ||
278 | RecBodyP Genericwrapper::parseMail( mailmessage * msg ) | 278 | RecBodyP Genericwrapper::parseMail( mailmessage * msg ) |
279 | { | 279 | { |
280 | int err = MAILIMF_NO_ERROR; | 280 | int err = MAILIMF_NO_ERROR; |
281 | mailmime_single_fields fields; | 281 | //mailmime_single_fields fields; |
282 | /* is bound to msg and will be freed there */ | 282 | /* is bound to msg and will be freed there */ |
283 | mailmime * mime=0; | 283 | mailmime * mime=0; |
284 | RecBodyP body = new RecBody(); | 284 | RecBodyP body = new RecBody(); |
285 | memset(&fields, 0, sizeof(struct mailmime_single_fields)); | 285 | //memset(&fields, 0, sizeof(struct mailmime_single_fields)); |
286 | err = mailmessage_get_bodystructure(msg,&mime); | 286 | err = mailmessage_get_bodystructure(msg,&mime); |
287 | QValueList<int>recList; | 287 | QValueList<int>recList; |
288 | traverseBody(body,msg,mime,recList); | 288 | traverseBody(body,msg,mime,recList); |
289 | return body; | 289 | return body; |