mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
Revert 12369 since inserting NULL is the same as deleting in sqlite3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12373 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -565,18 +565,6 @@ SWITCH_DECLARE(switch_status_t) switch_channel_set_private(switch_channel_t *cha
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(switch_status_t) switch_channel_unset_private(switch_channel_t *channel, const char *key)
|
||||
{
|
||||
switch_status_t status;
|
||||
switch_assert(channel != NULL);
|
||||
|
||||
switch_mutex_lock(channel->profile_mutex);
|
||||
status = switch_core_hash_delete(channel->private_hash, key);
|
||||
switch_mutex_unlock(channel->profile_mutex);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
SWITCH_DECLARE(void *) switch_channel_get_private(switch_channel_t *channel, const char *key)
|
||||
{
|
||||
void *val;
|
||||
|
Reference in New Issue
Block a user