Diff between 71f571dc65a90e9299806fae2c9511b85c9d71d8 and ff2c43131c1fb3312aa8d3e3cb9d77fd56b26334

Changed Files

File Additions Deletions Status
obexd/plugins/ftp.c +1 -1 modified

Full Patch

diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c
index f15597e..e0a3b97 100644
--- a/obexd/plugins/ftp.c
+++ b/obexd/plugins/ftp.c
@@ -155,7 +155,7 @@ static gint get_by_type(struct obex_session *os, gchar *type, size_t *size)
 	if (g_str_equal(type, LST_TYPE))
 		return os_prepare_get(os, os->current_folder, size);
 
-	return FALSE;
+	return -ENOENT;
 }
 
 static gint ftp_prepare_get(struct obex_session *os, gchar *file,