gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-37


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-375-g03d5f17
Date: Wed, 07 Mar 2012 10:54:53 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libgnokii and core programs".

The branch, master has been updated
       via  03d5f1713c31f8ffbcb1d1294a09153c42ca9da9 (commit)
      from  1e776ad9a6f02e2956b7e1d44b2670a2c64b8202 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=03d5f1713c31f8ffbcb1d1294a09153c42ca9da9


commit 03d5f1713c31f8ffbcb1d1294a09153c42ca9da9
Author: Daniele Forsi <address@hidden>
Date:   Wed Mar 7 11:53:32 2012 +0100

    Return a specific error code for a GN_OP_GetSMSCenter failure

diff --git a/ChangeLog b/ChangeLog
index b463a95..f6c7c0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,7 +40,8 @@
     o fix bug that caused to forget subentries after the first one
       when editing the phonebook                    (Daniele Forsi)
  * nk7110 driver updates
-    o add more error codes for GN_OP_ReadPhonebook  (Daniele Forsi)
+    o return more specific error codes for GN_OP_ReadPhonebook and
+      for GN_OP_GetSMSCenter failures               (Daniele Forsi)
 
 0.6.31
 ======
diff --git a/common/phones/nk7110.c b/common/phones/nk7110.c
index abf5cd2..f5130f0 100644
--- a/common/phones/nk7110.c
+++ b/common/phones/nk7110.c
@@ -1500,10 +1500,12 @@ static gn_error NK7110_IncomingSMS(int messagetype, 
unsigned char *message, int
        case NK7110_SUBSMS_READ_CELLBRD: /* 0x23 */
        case NK7110_SUBSMS_SMSC_OK: /* 0x31 */
        case NK7110_SUBSMS_SMSC_FAIL: /* 0x32 */
-       case NK7110_SUBSMS_SMSC_RCVFAIL: /* 0x35 */
                dprintf("Subtype 0x%02x of type 0x%02x (SMS handling) not 
implemented\n", message[3], NK7110_MSG_SMS);
                return GN_ERR_NOTIMPLEMENTED;
 
+       case NK7110_SUBSMS_SMSC_RCVFAIL: /* 0x35 */
+               return GN_ERR_INVALIDLOCATION;
+
        default:
                dprintf("Unknown subtype of type 0x%02x (SMS handling): 
0x%02x\n", NK7110_MSG_SMS, message[3]);
                return GN_ERR_UNHANDLEDFRAME;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog              |    3 ++-
 common/phones/nk7110.c |    4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]