summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorChristian Richter <christian.richter@beronet.com>2007-08-16 09:22:23 +0000
committerChristian Richter <christian.richter@beronet.com>2007-08-16 09:22:23 +0000
commita3a32e667554e2bceda1ffb670a0165aed08a7fc (patch)
tree7160aab1ba8a2f47df152efbeb6aa8d342267703 /channels
parent0c321a54d99fda8e3597c0a6715fb927c5d75f19 (diff)
Merged revisions 79642 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79642 | crichter | 2007-08-16 10:21:21 +0200 (Do, 16 Aug 2007) | 1 line 0x80 + protocol is wrong for USERUSER when we want to send IA5 Chars. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/misdn/ie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/misdn/ie.c b/channels/misdn/ie.c
index 75dd4c7f2..9c783cd10 100644
--- a/channels/misdn/ie.c
+++ b/channels/misdn/ie.c
@@ -1356,7 +1356,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