Monotone-Parent: a87d7a6ebe1e63e7828494f7104ff49289abc15e

Monotone-Revision: e785838ad834b8a805eeb85700cd115f2501c0f7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-06-19T14:48:25
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-06-19 14:48:25 +00:00
parent 411b7df5b7
commit 853cc1312e
4 changed files with 32 additions and 9 deletions
+8 -5
View File
@@ -33,14 +33,17 @@
asWebDavStringWithNamespaces: (NSMutableDictionary *) namespaces
{
NSMutableString *webdavString;
NSEnumerator *children;
unsigned int count, max;
NSObject *child;
webdavString = [NSMutableString string];
children = [self objectEnumerator];
while ((child = [children nextObject]))
[webdavString appendString:
[child asWebDavStringWithNamespaces: namespaces]];
max = [self count];
for (count = 0; count < max; count++)
{
child = [self objectAtIndex: count];
[webdavString appendString:
[child asWebDavStringWithNamespaces: namespaces]];
}
return webdavString;
}