diff options
Diffstat (limited to 'client/gdaemonfile.c')
-rw-r--r-- | client/gdaemonfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/gdaemonfile.c b/client/gdaemonfile.c index ac24014c..2807c801 100644 --- a/client/gdaemonfile.c +++ b/client/gdaemonfile.c @@ -389,7 +389,7 @@ g_daemon_file_get_relative_path (GFile *parent, parent_daemon->path, NULL); remainder = match_prefix (full_path_descendant, full_path_parent); - if (remainder == NULL || *remainder != '/') + if (remainder != NULL && *remainder == '/') ret = g_strdup (remainder + 1); else ret = NULL; |