summaryrefslogtreecommitdiff
path: root/channels/chan_h323.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-11-15 15:21:04 +0000
committerJoshua Colp <jcolp@digium.com>2007-11-15 15:21:04 +0000
commite7e208009f9dc85f0fb062a6fff587124ae982e6 (patch)
tree8c60b79410f6fecbcae05f9c0388a9904357ebb9 /channels/chan_h323.c
parent6260590ec2e5140d3434c2b1bf3303ce5e78d9f8 (diff)
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
Diffstat (limited to 'channels/chan_h323.c')
-rw-r--r--channels/chan_h323.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c
index 99b2086ae..735fde2c2 100644
--- a/channels/chan_h323.c
+++ b/channels/chan_h323.c
@@ -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);