Skip to contentSkip to conversation

filesystem: Fix folder listing

PATCH Applied Luiz Augusto von Dentz 2 participants 2 messages Feb 1, 2012 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 filesystem: Fix folder listing

From: Luiz Augusto von Dentz <[email protected]>

parent-folder should indicates the existence of a parent folder which is the opposit of what the code is currently doing.

---
 plugins/filesystem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
plugins/filesystem.c +1 -1
index 68785c6..677df76 100644
@@ -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);
Signature · 1 line
1.7.7.6
#1 lore raw

Hi Luiz,

Quoted 7 lines · Luiz Augusto von Dentz

From: Luiz Augusto von Dentz <[email protected]>

parent-folder should indicates the existence of a parent folder which is the opposit of what the code is currently doing.

---
 plugins/filesystem.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied. Thanks.

Johan