aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-16 08:21:21 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2007-08-16 08:21:21 +0000
commit89f734ab31dd6dd8f0ecd37a35a94be5c6c881be (patch)
tree921404a0c1021be000e97f6904f627806fa5d80a
parentab1ee9aa063a71d0b60a32dfa996fd84ed378872 (diff)
0x80 + protocol is wrong for USERUSER when we want to send IA5 Chars.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@79642 f38db490-d61c-443f-a65b-d21fe96a405b
-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 914004132..2e7fae998 100644
--- a/channels/misdn/ie.c
+++ b/channels/misdn/ie.c
@@ -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