Diff between 9e5acca94fd71954b096a6d2fc01a7355318d03e and 22edcd6531b04bb9a815d01092f3a83e0549de9b

Changed Files

File Additions Deletions Status
obexd/gwobex/gw-obex.c +1 -1 modified
obexd/gwobex/obex-priv.c +1 -1 modified

Full Patch

diff --git a/obexd/gwobex/gw-obex.c b/obexd/gwobex/gw-obex.c
index e656692..4481212 100644
--- a/obexd/gwobex/gw-obex.c
+++ b/obexd/gwobex/gw-obex.c
@@ -343,7 +343,7 @@ GwObex *gw_obex_setup_fd(int fd, const gchar *uuid, gint uuid_len,
     ctx->mutex = g_mutex_new();
 #endif
 
-    OBEX_SetCustomData(handle, ctx);
+    OBEX_SetUserData(handle, ctx);
 
     debug("Connecting to OBEX service\n");
     if (!gw_obex_connect(ctx, uuid, uuid_len)) {
diff --git a/obexd/gwobex/obex-priv.c b/obexd/gwobex/obex-priv.c
index 76a9599..aba7dd7 100644
--- a/obexd/gwobex/obex-priv.c
+++ b/obexd/gwobex/obex-priv.c
@@ -514,7 +514,7 @@ static void obex_writestream(GwObex *ctx, obex_object_t *object) {
 
 static void obex_event_handler(obex_t *handle, obex_object_t *object, int mode,
                                int event, int obex_cmd, int obex_rsp) {
-    GwObex *ctx = OBEX_GetCustomData(handle);
+    GwObex *ctx = OBEX_GetUserData(handle);
     switch (event) {
         case OBEX_EV_ABORT:
             debug("OBEX_EV_ABORT\n");