summaryrefslogtreecommitdiff
path: root/comms/scmxx/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'comms/scmxx/patches/patch-ab')
-rw-r--r--comms/scmxx/patches/patch-ab18
1 files changed, 9 insertions, 9 deletions
diff --git a/comms/scmxx/patches/patch-ab b/comms/scmxx/patches/patch-ab
index a9b8a24bff2..6a44ab3c4e0 100644
--- a/comms/scmxx/patches/patch-ab
+++ b/comms/scmxx/patches/patch-ab
@@ -1,17 +1,17 @@
-$NetBSD: patch-ab,v 1.6 2003/04/18 16:18:33 wiz Exp $
+$NetBSD: patch-ab,v 1.7 2003/07/18 13:12:21 wiz Exp $
---- src/smspdu.c.orig Sun Mar 9 13:24:24 2003
+--- src/smspdu.c.orig 2003-06-02 16:48:59.000000000 +0200
+++ src/smspdu.c
-@@ -88,7 +88,7 @@ void create_smssubmit_pdu(char *pdu, cha
+@@ -91,7 +91,7 @@ void create_smssubmit_pdu(char *pdu, cha
//leave PID and vp_relative as is
//process user data length and user data
- wide_str=convert_to_internal(nl_langinfo(CODESET),smstext,strlen(smstext));
+ wide_str=convert_to_internal("char",smstext,strlen(smstext));
- ud=sms_data_7bit_encode(wide_str,&udl);
- mem_realloc(wide_str,0);
-
-@@ -212,7 +212,7 @@ void decode_smsdeliver_pdu(unsigned char
+ if (mysmsopts.unicode) {
+ dcs &= 0xf3; //clear all affected bits
+ dcs |= 0x08; //set unicode charset
+@@ -227,7 +227,7 @@ void decode_smsdeliver_pdu(unsigned char
sprintf(&oa.number[strlen(oa.number)],"%c%c",pdu[i],pdu[i+1]);
}
wide_str=sms_data_7bit_decode(oa.number,(oa.length*4)/7);
@@ -20,7 +20,7 @@ $NetBSD: patch-ab,v 1.6 2003/04/18 16:18:33 wiz Exp $
mem_realloc(wide_str,0);
strcpy(oa.number,t);
mem_realloc(t,0);
-@@ -301,9 +301,9 @@ void decode_smsdeliver_pdu(unsigned char
+@@ -316,9 +316,9 @@ void decode_smsdeliver_pdu(unsigned char
//all encodings of uncompressed 7bit
wide_str=sms_data_7bit_decode(pdu+where,udl);
if ((pdutype>>6)&1){
@@ -32,7 +32,7 @@ $NetBSD: patch-ab,v 1.6 2003/04/18 16:18:33 wiz Exp $
}
mem_realloc(wide_str,0);
strcpy(ud,t);
-@@ -318,7 +318,7 @@ void decode_smsdeliver_pdu(unsigned char
+@@ -333,7 +333,7 @@ void decode_smsdeliver_pdu(unsigned char
} else {
wide_str=convert_from_ucs2(pdu+where);
}