linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH obexd] filesystem: Fix folder listing
@ 2012-02-01  1:24 Luiz Augusto von Dentz
  2012-02-01  2:28 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2012-02-01  1:24 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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(-)

diff --git a/plugins/filesystem.c b/plugins/filesystem.c
index 68785c6..677df76 100644
--- a/plugins/filesystem.c
+++ b/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);
-- 
1.7.7.6


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH obexd] filesystem: Fix folder listing
  2012-02-01  1:24 [PATCH obexd] filesystem: Fix folder listing Luiz Augusto von Dentz
@ 2012-02-01  2:28 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2012-02-01  2:28 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hi Luiz,

On Tue, Jan 31, 2012, Luiz Augusto von Dentz wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
> 
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-01  2:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-01  1:24 [PATCH obexd] filesystem: Fix folder listing Luiz Augusto von Dentz
2012-02-01  2:28 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).