diff options
author | Andrzej Zaborowski <andrew.zaborowski@intel.com> | 2009-09-05 03:16:02 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-09-08 14:44:39 -0500 |
commit | 06ea6137a30944855ebafe0c8abfb2285eac74b5 (patch) | |
tree | c8ab646ef508044e0be0e936970669589b3030ab /unit/test-sms.c | |
parent | 110dfb9e2ecc952bdbbce31f2d30010c952d65bd (diff) | |
download | ofono-06ea6137a30944855ebafe0c8abfb2285eac74b5.tar.bz2 |
Write state of SMS assembly to disk and restore on startup.
This way we can continue receiving segmented messages over a reset or
crash.
Diffstat (limited to 'unit/test-sms.c')
-rw-r--r-- | unit/test-sms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unit/test-sms.c b/unit/test-sms.c index b5617b59..85af3b89 100644 --- a/unit/test-sms.c +++ b/unit/test-sms.c @@ -623,7 +623,7 @@ static void test_assembly() unsigned char pdu[164]; long pdu_len; struct sms sms; - struct sms_assembly *assembly = sms_assembly_new(); + struct sms_assembly *assembly = sms_assembly_new(NULL); guint16 ref; guint8 max; guint8 seq; @@ -780,7 +780,7 @@ static void test_prepare_concat() struct sms *sms; struct sms decoded; int pdu_len, tpdu_len; - struct sms_assembly *assembly = sms_assembly_new(); + struct sms_assembly *assembly = sms_assembly_new(NULL); guint16 ref; guint8 max; guint8 seq; |