obexd: Fix not passing filename for pull requests

Now we can store the received response somewhere.
This commit is contained in:
Vinicius Costa Gomes 2010-05-12 20:50:01 -03:00 committed by Marcel Holtmann
parent 6b28669b92
commit 15820b3ab5

View File

@ -1278,7 +1278,7 @@ int session_pull(struct session_data *session,
if (session->obex == NULL)
return -ENOTCONN;
transfer = transfer_register(session, NULL, NULL, type, NULL);
transfer = transfer_register(session, NULL, filename, type, NULL);
if (transfer == NULL) {
return -EIO;
}