summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2012-02-18 17:19:01 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-20 00:18:45 +0200
commit88f4b05a6af5d6cb291872e8ea1bde18ed4713a7 (patch)
tree0dbfc1b5823ab39e81642df05f5e450f373e78b0 /plugins
parentc5026f187a3ce6816a50cac7b8234321b5faad21 (diff)
downloadobexd-88f4b05a6af5d6cb291872e8ea1bde18ed4713a7.tar.gz
ftp: Use ENOSYS to indicate not implemented function
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ftp.c2
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;
}
}