aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-11 18:54:22 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-01-11 18:54:22 +0000
commiteb4aa0a33bd42c9413011a4faa20cbeec00f666b (patch)
tree81fadf9f97f53935f2e5c11346e682796f752e0c /channels
parent6a6310369b46c6d56a63d604eba12730cba1aaab (diff)
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
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 292ddc5cd..3576e966c 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);