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 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 4 | Origin: Self |
| 5 | Description: Some build fixes. |
| 6 | |
Patrick Williams | b9af875 | 2023-01-30 13:28:01 -0600 | [diff] [blame^] | 7 | Upstream-Status: Pending |
| 8 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 9 | Index: 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; |