mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 21:35:47 +03:00
Cleaned code a bit, covertiy found.
This commit is contained in:
parent
90873a9ae8
commit
ebc98f07c3
1 changed files with 2 additions and 4 deletions
|
@ -1456,14 +1456,12 @@ static csync_vio_file_stat_t *owncloud_readdir(csync_vio_method_handle_t *dhandl
|
|||
|
||||
struct listdir_context *fetchCtx = dhandle;
|
||||
|
||||
if( fetchCtx->currResource ) {
|
||||
// DEBUG_WEBDAV("readdir method called for %s", fetchCtx->currResource->uri);
|
||||
} else {
|
||||
if( fetchCtx == NULL) {
|
||||
/* DEBUG_WEBDAV("An empty dir or at end"); */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
while( fetchCtx && fetchCtx->currResource ) {
|
||||
while( fetchCtx->currResource ) {
|
||||
resource* currResource = fetchCtx->currResource;
|
||||
char *escaped_path = NULL;
|
||||
|
||||
|
|
Loading…
Reference in a new issue