r3839 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src/phone-kit

chris at sita.openmoko.org chris at sita.openmoko.org
Tue Jan 15 12:04:30 CET 2008


Author: chris
Date: 2008-01-15 12:04:28 +0100 (Tue, 15 Jan 2008)
New Revision: 3839

Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-network.c
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c
Log:
        * src/phone-kit/moko-network.c:
        Increase timeout to 60 seconds

        * src/phone-kit/moko-sms.c: (moko_sms_send):
        Don't try to resolve recipient number


Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2008-01-15 10:49:31 UTC (rev 3838)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2008-01-15 11:04:28 UTC (rev 3839)
@@ -1,3 +1,11 @@
+2008-01-15  Chris Lord  <chris at openedhand.com>
+
+	* src/phone-kit/moko-network.c:
+	Increase timeout to 60 seconds
+
+	* src/phone-kit/moko-sms.c: (moko_sms_send):
+	Don't try to resolve recipient number
+
 2008-01-14  Chris Lord  <chris at openedhand.com>
 
 	Patch by: Roman Moracvik <roman.moravcik at gmail.com>, bug #1157

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-network.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-network.c	2008-01-15 10:49:31 UTC (rev 3838)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-network.c	2008-01-15 11:04:28 UTC (rev 3839)
@@ -42,7 +42,7 @@
         MOKO_TYPE_NETWORK, MokoNetworkPrivate))
 
 #define RETRY_MAX 5
-#define RETRY_DELAY 15
+#define RETRY_DELAY 60
 
 enum {
   PROP_STATUS = 1,

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-01-15 10:49:31 UTC (rev 3838)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-sms.c	2008-01-15 11:04:28 UTC (rev 3839)
@@ -686,11 +686,11 @@
 
   moko_network_get_country_code (priv->network, &dialcode, NULL);
   
-  if ((number[0] == '0') && (number[1] != '0') && (dialcode)) {
+  /*if ((number[0] == '0') && (number[1] != '0') && (dialcode)) {
     gchar *full_number = g_strconcat (dialcode, number + 1, NULL);
     jana_note_set_recipient (note, full_number);
     g_free (full_number);
-  } else
+  } else*/
     jana_note_set_recipient (note, number);
   if (sub_num) {
     jana_note_set_author (note, sub_num);





More information about the commitlog mailing list