Diff between 93c9b5a56f7567e4e0e4fd2ff38e1d5df9ff3bb9 and 81bdbef89e2b889fe7dbfe3a91794d5d5d647554

Changed Files

File Additions Deletions Status
obexd/plugins/opp.c +1 -1 modified

Full Patch

diff --git a/obexd/plugins/opp.c b/obexd/plugins/opp.c
index d9b68b2..fa3ee91 100644
--- a/obexd/plugins/opp.c
+++ b/obexd/plugins/opp.c
@@ -120,7 +120,7 @@ static int opp_chkput(struct obex_session *os, void *user_data)
 	int err;
 
 	if (obex_get_size(os) == OBJECT_SIZE_DELETE)
-		return -EINVAL;
+		return -ENOSYS;
 
 	t = obex_get_name(os);
 	if (t != NULL && !is_filename(t))