mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 12:37:15 +08:00
13 lines
573 B
Diff
13 lines
573 B
Diff
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;
|