Monotone-Parent: 60d1f73fd64a52fd996c5bf572fea291b0222750
Monotone-Revision: 3469fbc852a8276ebad66999a9ba086bc7f0ed78 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-04T22:52:43 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
51e9e62e53
commit
164a7e1454
|
@ -34,15 +34,15 @@
|
|||
|
||||
/* content */
|
||||
|
||||
- (id)record {
|
||||
- (id) record {
|
||||
if (self->record == nil) {
|
||||
NSString *s;
|
||||
|
||||
|
||||
s = [self contentAsString];
|
||||
|
||||
|
||||
if ([s hasPrefix:@"BEGIN:VCARD"]) {
|
||||
NSArray *v;
|
||||
|
||||
|
||||
v = [NGVCard parseVCardsFromSource:s];
|
||||
if ([v count] == 0) {
|
||||
[self errorWithFormat:@"Could not parse vCards from content!"];
|
||||
|
|
Loading…
Reference in New Issue