mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 16:28:51 +00:00
Monotone-Parent: 394a8937c21098aff3d373041059cde7fd2bf227
Monotone-Revision: abe5e8dd2a8aef612bdd694ea083df5edee4e074 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-06-13T22:43:33 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -920,7 +920,7 @@ _selectorForProperty (NSString *property)
|
||||
SEL methodSel;
|
||||
|
||||
#warning things may crash here...
|
||||
values = malloc (sizeof (NSMutableString *) * 100);
|
||||
values = calloc (100, sizeof (NSMutableString *));
|
||||
|
||||
// NSLog (@"_properties:ofObject:: %@", [NSDate date]);
|
||||
|
||||
@@ -943,22 +943,9 @@ _selectorForProperty (NSString *property)
|
||||
if (methodSel && [sogoObject respondsToSelector: methodSel])
|
||||
*currentValue = [[sogoObject performSelector: methodSel]
|
||||
stringByEscapingXMLString];
|
||||
else
|
||||
*currentValue = nil;
|
||||
currentProperty++;
|
||||
currentValue++;
|
||||
}
|
||||
*currentValue = nil;
|
||||
}
|
||||
else
|
||||
{
|
||||
currentProperty = properties;
|
||||
currentValue = values;
|
||||
while (*currentProperty)
|
||||
{
|
||||
*currentValue = nil;
|
||||
*currentProperty++;
|
||||
}
|
||||
}
|
||||
|
||||
// NSLog (@"/_properties:ofObject:: %@", [NSDate date]);
|
||||
|
||||
Reference in New Issue
Block a user