Diff between 685ed406d0b6550b83259e996e0e485374c8a00c and 5ffb0bb37f6c3a0ab11f3f65107769f81cbfcd55
Changed Files
| File | Additions | Deletions | Status |
| obexd/plugins/filesystem.c | +1 | -1 | modified |
Full Patch
diff --git a/obexd/plugins/filesystem.c b/obexd/plugins/filesystem.c
index 68785c6..677df76 100644
--- a/obexd/plugins/filesystem.c
+++ b/obexd/plugins/filesystem.c
@@ -488,7 +488,7 @@ static GString *append_listing(GString *object, const char *name,
goto failed;
}
- if (root)
+ if (!root)
object = g_string_append(object, FL_PARENT_FOLDER_ELEMENT);
ret = verify_path(name);