* Fix getting the offset into sms fragment bitmap.
@ 2009-08-22 2:37 Andrzej Zaborowski
2009-08-22 0:48 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Zaborowski @ 2009-08-22 2:37 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 536 bytes --]
Otherwise only 64 fragments fit.
---
src/smsutil.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/smsutil.c b/src/smsutil.c
index bae501e..fcff9aa 100644
--- a/src/smsutil.c
+++ b/src/smsutil.c
@@ -2132,7 +2132,7 @@ GSList *sms_assembly_add_fragment(struct sms_assembly *assembly,
const struct sms_address *addr,
guint16 ref, guint8 max, guint8 seq)
{
- int offset = seq / 8;
+ int offset = seq / 32;
int bit = 1 << (seq % 32);
GSList *l;
GSList *prev;
--
1.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-22 2:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-22 2:37 Fix getting the offset into sms fragment bitmap Andrzej Zaborowski
2009-08-22 0:48 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.