From b58862b284ec04d21a23c979f870008d1938032e Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 3 Nov 2010 11:56:26 +0200 Subject: [PATCH] obexd: Fix folder listing not able to use name header to list sub folders --- obexd/plugins/ftp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c index 007fe4a37..91c77a327 100644 --- a/obexd/plugins/ftp.c +++ b/obexd/plugins/ftp.c @@ -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); -- 2.47.3