commit | 16102009366f25a7ba3531c235d65461b5012372 | [log] [tgz] |
---|---|---|
author | Marek Kasik <mkasik@redhat.com> | Thu Jun 30 17:01:27 2016 -0400 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon Jul 04 14:32:44 2016 +0300 |
tree | e0f72919df8a5785ac564c6f1d11989c8efaf194 | |
parent | faac2826032b65f55ec93c765a49059d10dbf3bf [diff] |
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.