Skip to contentSkip to conversation

Fix folder listing not able to use name header to list sub folders

PATCH In review Luiz Augusto von Dentz 2 participants 2 messages Nov 3, 2010 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 Fix folder listing not able to use name header to list sub folders

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

---
 plugins/ftp.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
plugins/ftp.c +0 -3
index 007fe4a..91c77a3 100644
@@ -171,9 +171,6 @@ static int get_by_type(struct ftp_session *ftp, const char *type)
 	if (g_strcmp0(type, CAP_TYPE) == 0)
 		return obex_get_stream_start(os, capability);
 
-	if (g_strcmp0(type, LST_TYPE) == 0)
-		return obex_get_stream_start(os, ftp->folder);
-
 	path = g_build_filename(ftp->folder, name, NULL);
 	err = obex_get_stream_start(os, path);
 
Signature · 1 line
1.7.1
#1 lore raw

Hi Luiz,

Quoted 5 lines · Luiz Augusto von Dentz

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

---
 plugins/ftp.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Pushed upstream. Thanks.

Johan