summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorchris <chris@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-21 12:58:14 +0000
committerchris <chris@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-12-21 12:58:14 +0000
commit1c46d39e750a96c373d7c6b18d7e7d66289e392c (patch)
treedae61ae34e427903b2f6850acf2384c6671a3876 /src/util
parent5f522a277d5ac93bae9d993cabc0f3e7b3dbb59e (diff)
* src/util/event.c: (inds_handler):
Delivery status type is in sms->stat, not sms->payload.coding_scheme (which is always zero) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3715 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/util')
-rw-r--r--src/util/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/event.c b/src/util/event.c
index d063642..88ac447 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->payload.coding_scheme);
+ printf("message ref = %d, status = %d\n", sms->index,sms->stat);
}
else
printf("EVENT: Incoming Status Report stored at location %i\n",
personal git repositories of Harald Welte. Your mileage may vary