fixed deleting of non-empty folder
authorVladimir Nadvornik <nadvornik@suse.cz>
Sun, 27 Jul 2008 08:40:47 +0000 (08:40 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Sun, 27 Jul 2008 08:40:47 +0000 (08:40 +0000)
src/filedata.c

index 109a302..bfdc90a 100644 (file)
@@ -1575,7 +1575,11 @@ gint file_data_verify_ci(FileData *fd)
        gchar *dir;
        gchar *dest_dir = NULL;
        
-       g_assert(fd->change);
+       if (!fd->change)
+               {
+               DEBUG_1("Change checked: no change info: %s", fd->path);
+               return ret; 
+               }
 
        if (!isname(fd->path))
                {