diff options
author | chris <chris@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-21 14:23:12 +0000 |
---|---|---|
committer | chris <chris@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2007-12-21 14:23:12 +0000 |
commit | a0eefdac56ebfe90b9a9e12dd582f1908a7735e9 (patch) | |
tree | 4ff2c1fdeb99d5461b63c8edd5717205ba002027 | |
parent | 1c46d39e750a96c373d7c6b18d7e7d66289e392c (diff) |
* src/util/event.c: (inds_handler):
Back out change - sms->stat just contains junk (uninitialised?)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3719 99fdad57-331a-0410-800a-d7fa5415bdb3
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/util/event.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,11 @@ 2007-12-21 Chris Lord <chris@openedhand.com> * src/util/event.c: (inds_handler): + Back out change - sms->stat just contains junk (uninitialised?) + +2007-12-21 Chris Lord <chris@openedhand.com> + + * src/util/event.c: (inds_handler): Delivery status type is in sms->stat, not sms->payload.coding_scheme (which is always zero) diff --git a/src/util/event.c b/src/util/event.c index 88ac447..d063642 100644 --- a/src/util/event.c +++ b/src/util/event.c @@ -134,7 +134,7 @@ static int inds_handler(struct lgsm_handle *lh, int evt, struct gsmd_sms_list *sms; sms = (struct gsmd_sms_list *) aux->data; printf("EVENT: Incoming Status Report\n"); - printf("message ref = %d, status = %d\n", sms->index,sms->stat); + printf("message ref = %d, status = %d\n", sms->index,sms->payload.coding_scheme); } else printf("EVENT: Incoming Status Report stored at location %i\n", |