mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
small fix and new macro
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5260 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -175,6 +175,7 @@ switch_mutex_unlock(obj->flag_mutex);
|
||||
*/
|
||||
#define switch_copy_flags(dest, src, flags) (dest)->flags &= ~(flags); (dest)->flags |= ((src)->flags & (flags))
|
||||
|
||||
#define switch_set_string(_dst, _src) switch_copy_string(_dst, _src, sizeof(_dst))
|
||||
|
||||
/*!
|
||||
\brief Free a pointer and set it to NULL unless it already is NULL
|
||||
|
||||
Reference in New Issue
Block a user