mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -12246,7 +12246,7 @@ static int build_channels(struct zt_chan_conf conf, int iscrv, const char *value
|
||||
static int process_zap(struct zt_chan_conf *confp, struct ast_variable *v, int reload, int skipchannels)
|
||||
{
|
||||
struct zt_pvt *tmp;
|
||||
char *ringc; /* temporary string for parsing the dring number. */
|
||||
const char *ringc; /* temporary string for parsing the dring number. */
|
||||
int y;
|
||||
int found_pseudo = 0;
|
||||
char zapchan[MAX_CHANLIST_LEN] = {};
|
||||
@@ -12785,9 +12785,9 @@ static int process_zap(struct zt_chan_conf *confp, struct ast_variable *v, int r
|
||||
}
|
||||
} else if (!strcasecmp(v->name, "pritimer")) {
|
||||
#ifdef PRI_GETSET_TIMERS
|
||||
char *timerc, *c;
|
||||
char tmp[20], *timerc, *c = tmp;
|
||||
int timer, timeridx;
|
||||
c = v->value;
|
||||
ast_copy_string(tmp, v->value, sizeof(tmp));
|
||||
timerc = strsep(&c, ",");
|
||||
if (timerc) {
|
||||
timer = atoi(c);
|
||||
|
Reference in New Issue
Block a user