dect
/
asterisk
Archived
13
0
Fork 0

shame on oej for submitting a patch which doesn't even compile, shame on me for comitting it...

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4762 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
markster 2005-01-11 18:54:22 +00:00
parent 6a6310369b
commit eb4aa0a33b
1 changed files with 2 additions and 2 deletions

View File

@ -8891,7 +8891,7 @@ static struct sip_peer *build_peer(const char *name, struct ast_variable *v, int
} else if (!strcasecmp(v->name, "mask")) {
maskfound++;
inet_aton(v->value, &peer->mask);
} else if (!strcasecmp(v->name, "port") || !strcasecmp(v-name, "bindport") {
} else if (!strcasecmp(v->name, "port") || !strcasecmp(v->name, "bindport")) {
if (!realtime && ast_test_flag(peer, SIP_DYNAMIC))
peer->defaddr.sin_port = htons(atoi(v->value));
else
@ -9086,7 +9086,7 @@ static int reload_config(void)
compactheaders = ast_true(v->value);
} else if (!strcasecmp(v->name, "notifymimetype")) {
strncpy(default_notifymime, v->value, sizeof(default_notifymime) - 1);
} else if (!strcasecmp(v->name, "musicclass") || !strcasecmp(v->name, "musiconhold") {
} else if (!strcasecmp(v->name, "musicclass") || !strcasecmp(v->name, "musiconhold")) {
strncpy(global_musicclass, v->value, sizeof(global_musicclass) - 1);
} else if (!strcasecmp(v->name, "language")) {
strncpy(default_language, v->value, sizeof(default_language)-1);