diff --git a/src/lib/bluez/obex/obex_file_transfer.c b/src/lib/bluez/obex/obex_file_transfer.c index 2d3dafe..558e52e 100644 --- a/src/lib/bluez/obex/obex_file_transfer.c +++ b/src/lib/bluez/obex/obex_file_transfer.c @@ -227,10 +227,10 @@ GVariant *obex_file_transfer_put_file(ObexFileTransfer *self, const gchar *sourc { g_assert(OBEX_FILE_TRANSFER_IS(self)); GVariant *ret = NULL; - GVariant *proxy_ret = g_dbus_proxy_call_sync(self->priv->proxy, "PutFile", g_variant_new ("(ss)", targetfile, sourcefile), G_DBUS_CALL_FLAGS_NONE, -1, NULL, error); + GVariant *proxy_ret = g_dbus_proxy_call_sync(self->priv->proxy, "PutFile", g_variant_new ("(ss)", sourcefile, targetfile), G_DBUS_CALL_FLAGS_NONE, -1, NULL, error); if (proxy_ret != NULL) return NULL; ret = g_variant_ref_sink(proxy_ret); g_variant_unref(proxy_ret); return ret; -} \ No newline at end of file +}