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