summarylogtreecommitdiffstats
path: root/obex-data-server-openobex17.patch
blob: 047c46c501bc5ee0584ea7bdddf2a7581ee147ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur obex-data-server-0.4.6-orig/src/ods-obex.c obex-data-server-0.4.6/src/ods-obex.c
--- obex-data-server-0.4.6-orig/src/ods-obex.c	2013-05-29 16:01:54.051692334 -0400
+++ obex-data-server-0.4.6/src/ods-obex.c	2013-05-29 16:03:23.200697099 -0400
@@ -412,7 +412,7 @@
 		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;