From 9b7916395e21e4efe3d0fc76adad30c3b1f169be Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Thu, 17 Jan 2008 08:35:53 +0000 Subject: gsmd: fix CMT_parse comma error (Sean Chiang) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3861 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/util/event.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/util') diff --git a/src/util/event.c b/src/util/event.c index 88f315f..de1da99 100644 --- a/src/util/event.c +++ b/src/util/event.c @@ -64,6 +64,8 @@ static int insms_handler(struct lgsm_handle *lh, int evt, (sms->time_stamp[6] & 8) ? '-' : '+', (((sms->time_stamp[6] << 4) | (sms->time_stamp[6] >> 4)) & 0x3f) >> 2); + if ( strlen(aux->u.sms.alpha) ) + printf("From %s\n", aux->u.sms.alpha); if (sms->payload.coding_scheme == ALPHABET_DEFAULT) { unpacking_7bit_character(&sms->payload, payload); printf("\"%s\"\n", payload); -- cgit v1.2.3