Skip to content

Commit fa701c8

Browse files
committed
fix: fix typo
1 parent 7090957 commit fa701c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

IOSDeviceLib/IOSDeviceLib.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1006,13 +1006,13 @@ void get_application_infos(std::string device_identifier, std::string method_id)
10061006

10071007
CFStringRef cf_app_type_value = create_CFString("User");
10081008
const void *client_opts_values_arr[] = { cf_app_type_value, cf_return_attributes_array };
1009-
CFDictionaryRef clinet_opts_dict = CFDictionaryCreate(NULL, client_opts_keys_arr, client_opts_values_arr, 2, NULL, NULL);
1009+
CFDictionaryRef client_opts_dict = CFDictionaryCreate(NULL, client_opts_keys_arr, client_opts_values_arr, 2, NULL, NULL);
10101010

10111011
CFStringRef cf_command_key = create_CFString("Command");
10121012
CFStringRef cf_client_options_key = create_CFString("ClientOptions");
10131013
const void *keys_arr[] = { cf_command_key, cf_client_options_key };
10141014
CFStringRef cf_command_value = create_CFString("Browse");
1015-
const void *values_arr[] = { cf_command_value, clinet_opts_dict };
1015+
const void *values_arr[] = { cf_command_value, client_opts_dict };
10161016
CFDictionaryRef dict_command = CFDictionaryCreate(NULL, keys_arr, values_arr, 2, NULL, NULL);
10171017

10181018
send_con_message(serviceInfo.connection, dict_command);
@@ -1022,7 +1022,7 @@ void get_application_infos(std::string device_identifier, std::string method_id)
10221022
CFRelease(cf_app_type_key);
10231023
CFRelease(cf_return_attrs_key);
10241024
CFRelease(cf_app_type_value);
1025-
CFRelease(clinet_opts_dict);
1025+
CFRelease(client_opts_dict);
10261026
CFRelease(cf_command_key);
10271027
CFRelease(cf_client_options_key);
10281028
CFRelease(cf_command_value);

0 commit comments

Comments
 (0)