mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-03 12:25:35 +00:00
Constify tag argument in REF_DEBUG related code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@349409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2222,7 +2222,7 @@ static struct ast_tcptls_session_args sip_tls_desc = {
|
||||
\return Always returns 0 */
|
||||
#define append_history(p, event, fmt , args... ) append_history_full(p, "%-15s " fmt, event, ## args)
|
||||
|
||||
struct sip_pvt *dialog_ref_debug(struct sip_pvt *p, char *tag, char *file, int line, const char *func)
|
||||
struct sip_pvt *dialog_ref_debug(struct sip_pvt *p, const char *tag, char *file, int line, const char *func)
|
||||
{
|
||||
if (p)
|
||||
#ifdef REF_DEBUG
|
||||
@@ -2235,7 +2235,7 @@ struct sip_pvt *dialog_ref_debug(struct sip_pvt *p, char *tag, char *file, int l
|
||||
return p;
|
||||
}
|
||||
|
||||
struct sip_pvt *dialog_unref_debug(struct sip_pvt *p, char *tag, char *file, int line, const char *func)
|
||||
struct sip_pvt *dialog_unref_debug(struct sip_pvt *p, const char *tag, char *file, int line, const char *func)
|
||||
{
|
||||
if (p)
|
||||
#ifdef REF_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user