From: Mark Spencer Date: Thu, 16 Sep 2004 12:53:10 +0000 (+0000) Subject: Fix tiny typo (bug #2455) X-Git-Tag: 1.0.0~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0aa4c95a89113d7eba495ccbaa8db9f2c52d2aae;p=thirdparty%2Fasterisk.git Fix tiny typo (bug #2455) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3791 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a0ace0dce3..a271f20c5f 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")) {