Commit 54c321c1 authored by Christian Hergert's avatar Christian Hergert
Browse files

transfer: only add directory for reap when directory

parent 5ad98d1f
......@@ -548,7 +548,7 @@ handle_removal (DzlFileTransfer *self,
if (oper->error != NULL)
if (g_file_query_file_type (oper->src, 0, NULL) == G_FILE_TYPE_DIRECTORY)
if (g_file_query_file_type (oper->src, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, NULL) == G_FILE_TYPE_DIRECTORY)
dzl_directory_reaper_add_directory (reaper, oper->src, 0);
dzl_directory_reaper_add_file (reaper, oper->src, 0);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment