Diff between faac2826032b65f55ec93c765a49059d10dbf3bf and 16102009366f25a7ba3531c235d65461b5012372
Changed Files
| File | Additions | Deletions | Status |
| obexd/plugins/ftp.c | +2 | -0 | modified |
Full Patch
diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c
index a906527..3ee18a6 100644
--- a/obexd/plugins/ftp.c
+++ b/obexd/plugins/ftp.c
@@ -278,6 +278,8 @@ int ftp_setpath(struct obex_session *os, void *user_data)
DBG("Fullname: %s", fullname);
err = verify_path(fullname);
+ if (err == -ENOENT)
+ goto not_found;
if (err < 0)
goto done;