Diff between 99be1da31c3ea7c4bd01d100d516e5aa7879483f and ecd621b972375d4f421c775b63b1b421f35f65dd
Changed Files
| File | Additions | Deletions | Status |
| obexd/client/session.c | +0 | -8 | modified |
Full Patch
diff --git a/obexd/client/session.c b/obexd/client/session.c
index 46adeaa..0a6decc 100644
--- a/obexd/client/session.c
+++ b/obexd/client/session.c
@@ -1217,14 +1217,6 @@ int session_get(struct session_data *session, const char *type,
}
}
- session->transfer_path = register_transfer(session->conn, session);
- if (session->transfer_path == NULL) {
- if (fd)
- close(fd);
-
- return -EIO;
- }
-
if (type && !g_str_equal(type, "x-obex/folder-listing")) {
session->transfer_path = register_transfer(session->conn, session);
if (session->transfer_path == NULL) {