Diff between 4d2577cb41af14d6df2a0c0becb6b64fc93d22d2 and bbf82a03b44aa616643c5e7a708eb143bc49a688
Changed Files
| File | Additions | Deletions | Status |
| obexd/plugins/pbap.c | +1 | -1 | modified |
Full Patch
diff --git a/obexd/plugins/pbap.c b/obexd/plugins/pbap.c
index 041ce15..f7b168d 100644
--- a/obexd/plugins/pbap.c
+++ b/obexd/plugins/pbap.c
@@ -657,7 +657,7 @@ static void pbap_disconnect(struct obex_session *os, void *user_data)
static int pbap_chkput(struct obex_session *os, void *user_data)
{
/* Rejects all PUTs */
- return -EINVAL;
+ return -EBADR;
}
static struct obex_service_driver pbap = {