From: Mark Spencer Date: Tue, 11 Jan 2005 18:54:22 +0000 (+0000) Subject: shame on oej for submitting a patch which doesn't even compile, shame on me for comit... X-Git-Tag: 1.2.0-beta1~1413 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21f63cd4dbddf63b4c965437797d05c95f558185;p=thirdparty%2Fasterisk.git shame on oej for submitting a patch which doesn't even compile, shame on me for comitting it... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4762 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 292ddc5cd4..3576e966c4 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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);