Diff between 21e6214c73d11e3fff9ecbc5d980da5f04e9575f and b58862b284ec04d21a23c979f870008d1938032e
Changed Files
| File | Additions | Deletions | Status |
| obexd/plugins/ftp.c | +0 | -3 | modified |
Full Patch
diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c
index 007fe4a..91c77a3 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);