diff options
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a0ace0dce..a271f20c5 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -8043,7 +8043,7 @@ static struct sip_user *build_user(char *name, struct ast_variable *v) } else if (!strcasecmp(v->name, "secret")) { strncpy(user->secret, v->value, sizeof(user->secret)-1); } else if (!strcasecmp(v->name, "md5secret")) { - strncpy(user->md5secret, v->value, sizeof(user->secret)-1); + strncpy(user->md5secret, v->value, sizeof(user->md5secret)-1); } else if (!strcasecmp(v->name, "promiscredir")) { user->promiscredir = ast_true(v->value); } else if (!strcasecmp(v->name, "dtmfmode")) { |