You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
684 B

  1. --- a/obexd/client/sync.c
  2. +++ b/obexd/client/sync.c
  3. @@ -209,7 +209,7 @@ static void sync_remove(struct obc_sessi
  4. g_dbus_unregister_interface(conn, path, SYNC_INTERFACE);
  5. }
  6. -static struct obc_driver sync = {
  7. +static struct obc_driver sync2 = {
  8. .service = "SYNC",
  9. .uuid = SYNC_UUID,
  10. .target = OBEX_SYNC_UUID,
  11. @@ -228,7 +228,7 @@ int sync_init(void)
  12. if (!conn)
  13. return -EIO;
  14. - err = obc_driver_register(&sync);
  15. + err = obc_driver_register(&sync2);
  16. if (err < 0) {
  17. dbus_connection_unref(conn);
  18. conn = NULL;
  19. @@ -245,5 +245,5 @@ void sync_exit(void)
  20. dbus_connection_unref(conn);
  21. conn = NULL;
  22. - obc_driver_unregister(&sync);
  23. + obc_driver_unregister(&sync2);
  24. }