0x80 + protocol is wrong for USERUSER when we want to send IA5 Chars.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@79642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Christian Richter
2007-08-16 08:21:21 +00:00
parent 6dbbfcdc25
commit 6d6a045cc0

View File

@@ -1361,7 +1361,7 @@ static void enc_ie_useruser(unsigned char **ntmode, msg_t *msg, int protocol, ch
qi->QI_ELEMENT(useruser) = p - (unsigned char *)qi - sizeof(Q931_info_t);
p[0] = IE_USER_USER;
p[1] = l;
p[2] = 0x80 + protocol;
p[2] = protocol;
memcpy(p+3, user, user_len);
}
#endif