mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-17 08:44:13 +00:00
FS-7500: add switch_inthash variety of hash that can key on int
This commit is contained in:
1 parent
287a6c3cb4
commit
836e2b2888
6 files changed
+62
-10
No files matched your search
@@ -2025,7 +2025,7 @@ static switch_status_t channel_on_destroy(switch_core_session_t *session)
|
||||
|
||||
if (tech_pvt->profile->purge) {
|
||||
mdl_profile_t *profile = tech_pvt->profile;
|
||||
if (switch_core_hash_delete(globals.profile_hash, profile->name) == SWITCH_STATUS_SUCCESS) {
|
||||
if (switch_core_hash_delete(globals.profile_hash, profile->name)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Profile %s deleted successfully\n", profile->name);
|
||||
}
|
||||
}
|
||||
@@ -3261,7 +3261,7 @@ static switch_status_t destroy_profile(char *name)
|
||||
ldl_handle_stop(profile->handle);
|
||||
}
|
||||
|
||||
if (switch_core_hash_delete(globals.profile_hash, profile->name) == SWITCH_STATUS_SUCCESS) {
|
||||
if (switch_core_hash_delete(globals.profile_hash, profile->name)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Profile %s deleted successfully\n", profile->name);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user