projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2cf92
)
Make sure unit tests also use right pdu buffer len
author
Denis Kenzior
<denkenz@gmail.com>
Wed, 16 Sep 2009 10:07:36 +0000
(
05:07
-0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Wed, 16 Sep 2009 10:07:36 +0000
(
05:07
-0500)
unit/test-sms.c
patch
|
blob
|
history
diff --git
a/unit/test-sms.c
b/unit/test-sms.c
index
67c51f8
..
ac4f1ff
100644
(file)
--- a/
unit/test-sms.c
+++ b/
unit/test-sms.c
@@
-620,7
+620,7
@@
static int assembly_pdu_len3 = 89;
static void test_assembly()
{
- unsigned char pdu[1
64
];
+ unsigned char pdu[1
76
];
long pdu_len;
struct sms sms;
struct sms_assembly *assembly = sms_assembly_new(NULL);
@@
-1009,7
+1009,7
@@
static void test_cbs_assembly()
static void test_serialize_assembly()
{
- unsigned char pdu[1
64
];
+ unsigned char pdu[1
76
];
long pdu_len;
struct sms sms;
struct sms_assembly *assembly = sms_assembly_new("1234");