mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
And file said... let trunk build again! Accomplished by some more constification, and marking a function in chan_sip as purposely unused until it is fixed up.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1362,7 +1362,7 @@ static int update_common_options(struct ast_variable *v, struct call_options *op
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct oh323_user *build_user(char *name, struct ast_variable *v, struct ast_variable *alt, int realtime)
|
||||
static struct oh323_user *build_user(const char *name, struct ast_variable *v, struct ast_variable *alt, int realtime)
|
||||
{
|
||||
struct oh323_user *user;
|
||||
struct ast_ha *oldha;
|
||||
@@ -1446,7 +1446,7 @@ static struct oh323_user *realtime_user(const call_details_t *cd)
|
||||
{
|
||||
struct ast_variable *var, *tmp;
|
||||
struct oh323_user *user;
|
||||
char *username;
|
||||
const char *username;
|
||||
|
||||
if (userbyalias)
|
||||
var = ast_load_realtime("h323", "name", username = cd->call_source_aliases, NULL);
|
||||
|
Reference in New Issue
Block a user