Diff between 0c44f9ad546da808cfbe1d20eb6c729b0e82e0dc and 63296fb1c26861273883c49033983649c24c1094
Changed Files
| File | Additions | Deletions | Status |
| obexd/src/obex.c | +1 | -1 | modified |
Full Patch
diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index 1615ea8..152e10a 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -963,7 +963,7 @@ int obex_put_stream_start(struct obex_session *os, const char *filename)
(size_t *) &os->size : NULL, &err);
if (os->object == NULL) {
error("open(%s): %s (%d)", filename, strerror(-err), -err);
- return -EPERM;
+ return err;
}
os->path = g_strdup(filename);