(fix) properly skip folders we don't want (fixes #3943)

pull/14/merge
Ludovic Marcotte 2016-12-14 13:42:22 -05:00
parent f6acc3e984
commit d8eae96d63
1 changed files with 2 additions and 0 deletions

View File

@ -947,6 +947,7 @@ void handle_eas_terminate(int signum)
command_count++; command_count++;
} }
[o destroy]; [o destroy];
continue;
} }
// Remove the folder from device if it is a contact folder and we have no SOGoRole_ObjectViewer. // Remove the folder from device if it is a contact folder and we have no SOGoRole_ObjectViewer.
@ -1097,6 +1098,7 @@ void handle_eas_terminate(int signum)
![currentFolder synchronize]) ![currentFolder synchronize])
{ {
[folders removeObjectAtIndex: count]; [folders removeObjectAtIndex: count];
continue;
} }
// Remove the folder from the device if it is a contact folder and we have no SOGoRole_ObjectViewer access right. // Remove the folder from the device if it is a contact folder and we have no SOGoRole_ObjectViewer access right.