FS-7500: add switch_inthash variety of hash that can key on int

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:46:53 -05:00
1 parent 287a6c3cb4
commit 836e2b2888
6 files changed
+62 -10

No files matched your search

+1 -1
View File
@@ -2065,7 +2065,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_digit_stream_parser_del_event(switch_
switch_status_t status = SWITCH_STATUS_FALSE;
if (parser != NULL && digits != NULL && *digits) {
status = switch_core_hash_delete(parser->hash, digits);
status = switch_core_hash_delete(parser->hash, digits) ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_FALSE;
}
if (status != SWITCH_STATUS_SUCCESS) {