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