mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-29 23:25:27 +00:00
Monotone-Parent: 6942fad37af1688fabf9fedce658eafff7ae9cf7
Monotone-Revision: 324953981461ad15df80c3193646a4ca4e57d5b5 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-10-25T15:28:14 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -280,13 +280,14 @@ static NSArray *infoKeys = nil;
|
||||
for (count = 0; count < max; count++)
|
||||
{
|
||||
part = [parts objectAtIndex: count];
|
||||
header = (NGMimeContentDispositionHeaderField *) [part headerForKey: @"content-disposition"];
|
||||
mimeType = [(NGMimeType *) [part headerForKey: @"content-type"] stringValue];
|
||||
header = (NGMimeContentDispositionHeaderField *)
|
||||
[part headerForKey: @"content-disposition"];
|
||||
mimeType = [(NGMimeType *)
|
||||
[part headerForKey: @"content-type"] stringValue];
|
||||
attachment = [NSDictionary dictionaryWithObjectsAndKeys:
|
||||
[header filename], @"filename",
|
||||
mimeType, @"mime-type", nil];
|
||||
[filenames setObject: attachment
|
||||
forKey: [header name]];
|
||||
mimeType, @"mimetype", nil];
|
||||
[filenames setObject: attachment forKey: [header name]];
|
||||
}
|
||||
|
||||
return filenames;
|
||||
|
||||
Reference in New Issue
Block a user