r4157 - trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit
erin_yueh at sita.openmoko.org
erin_yueh at sita.openmoko.org
Tue Mar 4 04:45:44 CET 2008
Author: erin_yueh
Date: 2008-03-04 04:45:41 +0100 (Tue, 04 Mar 2008)
New Revision: 4157
Modified:
trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c
Log:
sms: change debug msg (Erin Yueh)
Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c 2008-03-04 03:38:36 UTC (rev 4156)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c 2008-03-04 03:45:41 UTC (rev 4157)
@@ -288,13 +288,13 @@
message = NULL;
switch (sms->payload.coding_scheme) {
case ALPHABET_DEFAULT :
- g_debug ("Decoding 7-bit ASCII message");
+ g_debug ("Decoding 7-bit ASCII message:");
message = g_malloc0 (GSMD_SMS_DATA_MAXLEN);
unpacking_7bit_character (&sms->payload, message);
break;
case ALPHABET_8BIT :
/* TODO: Verify: Is this encoding just UTF-8? (it is on my Samsung phone) */
- g_debug ("Decoding UTF-8 message");
+ g_debug ("Decoding UTF-8 message:");
message = g_strdup (sms->payload.data);
break;
case ALPHABET_UCS2 :
@@ -302,7 +302,7 @@
gint i;
gunichar2 *ucs2 = (gunichar2 *)sms->payload.data;
- g_debug ("Decoding UCS-2 message");
+ g_debug ("Decoding UCS-2 message:");
for (i = 0; i < sms->payload.length / 2; i++)
ucs2[i] = GUINT16_FROM_BE(ucs2[i]);
More information about the commitlog
mailing list