diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-02-18 17:19:01 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-20 00:18:45 +0200 |
commit | 88f4b05a6af5d6cb291872e8ea1bde18ed4713a7 (patch) | |
tree | 0dbfc1b5823ab39e81642df05f5e450f373e78b0 /plugins | |
parent | c5026f187a3ce6816a50cac7b8234321b5faad21 (diff) | |
download | obexd-88f4b05a6af5d6cb291872e8ea1bde18ed4713a7.tar.gz |
ftp: Use ENOSYS to indicate not implemented function
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ftp.c b/plugins/ftp.c index 56cedb9..ff4b761 100644 --- a/plugins/ftp.c +++ b/plugins/ftp.c @@ -500,7 +500,7 @@ int ftp_action(struct obex_session *os, void *user_data) case 0x01: /* Move/Rename Object */ return ftp_move(ftp, name, destname); default: - return -EINVAL; + return -ENOSYS; } } |