hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Submitted By:            Armin K. <krejzi at email dot com>
Date:                    2012-07-06
Initial Package Version: 0.4.6
Upstream Status:         Unknown
Origin:                  Self
Description:             Some build fixes.
 
Index: obex-data-server-0.4.6/src/ods-obex.c
===================================================================
--- obex-data-server-0.4.6.orig/src/ods-obex.c
+++ obex-data-server-0.4.6/src/ods-obex.c
@@ -412,7 +412,7 @@ ods_obex_setup_usbtransport (OdsObexCont
         goto err;
     }
 
-    interfaces_num = OBEX_FindInterfaces(obex_context->obex_handle, &obex_intf);
+    interfaces_num = OBEX_EnumerateInterfaces(obex_context->obex_handle);
     if (intf_num >= interfaces_num) {
         g_set_error (error, ODS_ERROR, ODS_ERROR_FAILED, "Invalid interface number");
         goto err;