@@ -210,11 +210,6 @@ void cleanup_file_resources(const std::string& device_identifier, const std::str
210
210
AFCConnectionClose (afc_connection_to_close);
211
211
devices[device_identifier].apps_cache .erase (application_identifier);
212
212
}
213
-
214
- if (devices[device_identifier].services .count (kHouseArrest ))
215
- {
216
- devices[device_identifier].services .erase (kHouseArrest );
217
- }
218
213
}
219
214
220
215
void cleanup_file_resources (const std::string& device_identifier)
@@ -982,13 +977,13 @@ void get_application_infos(std::string device_identifier, std::string method_id)
982
977
983
978
CFStringRef cf_app_type_value = create_CFString (" User" );
984
979
const void *client_opts_values_arr[] = { cf_app_type_value, cf_return_attributes_array };
985
- CFDictionaryRef clinet_opts_dict = CFDictionaryCreate (NULL , client_opts_keys_arr, client_opts_values_arr, 2 , NULL , NULL );
980
+ CFDictionaryRef client_opts_dict = CFDictionaryCreate (NULL , client_opts_keys_arr, client_opts_values_arr, 2 , NULL , NULL );
986
981
987
982
CFStringRef cf_command_key = create_CFString (" Command" );
988
983
CFStringRef cf_client_options_key = create_CFString (" ClientOptions" );
989
984
const void *keys_arr[] = { cf_command_key, cf_client_options_key };
990
985
CFStringRef cf_command_value = create_CFString (" Browse" );
991
- const void *values_arr[] = { cf_command_value, clinet_opts_dict };
986
+ const void *values_arr[] = { cf_command_value, client_opts_dict };
992
987
CFDictionaryRef dict_command = CFDictionaryCreate (NULL , keys_arr, values_arr, 2 , NULL , NULL );
993
988
994
989
send_con_message (serviceInfo.connection , dict_command);
@@ -998,7 +993,7 @@ void get_application_infos(std::string device_identifier, std::string method_id)
998
993
CFRelease (cf_app_type_key);
999
994
CFRelease (cf_return_attrs_key);
1000
995
CFRelease (cf_app_type_value);
1001
- CFRelease (clinet_opts_dict );
996
+ CFRelease (client_opts_dict );
1002
997
CFRelease (cf_command_key);
1003
998
CFRelease (cf_client_options_key);
1004
999
CFRelease (cf_command_value);
0 commit comments