Commit: 16102009366f25a7ba3531c235d65461b5012372
Parent: faac2826032b65f55ec93c765a49059d10dbf3bf
Author: Marek Kasik <mkasik@redhat.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-07-04 14:32:44
Tree: e0f72919df8a5785ac564c6f1d11989c8efaf194

obexd: Allow CreateFolder to create a directory When the remote device sends the 'CreateFolder' command, obexd first tries to verify the path in ftp_setpath(). Because we are creating a new directory, the verify_path() is expected to fail (it does not exist yet; ENOENT). Trap that special case and cause the function to fail directly to the create directory path.

Diffstat

M obexd/plugins/ftp.c | 2 ++

1 files changed, 2 insertions(+), 0 deletions(-)

View Full Diff | Patch