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-373-g4115b56
Date: Tue, 06 Mar 2012 14:34:45 +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  4115b567bcad69424b88c94d4ce793d944d9b5a4 (commit)
      from  007e99c40145ea838954425d39e239ff1a5d7d9e (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=4115b567bcad69424b88c94d4ce793d944d9b5a4


commit 4115b567bcad69424b88c94d4ce793d944d9b5a4
Author: Daniele Forsi <address@hidden>
Date:   Tue Mar 6 15:31:11 2012 +0100

    Fix offset of memory number
    
    Tested on Nokia 7110 NSE-5 with firmware 04.88.

diff --git a/common/phones/nk7110.c b/common/phones/nk7110.c
index 946b2df..1bb9564 100644
--- a/common/phones/nk7110.c
+++ b/common/phones/nk7110.c
@@ -673,7 +673,7 @@ static gn_error NK7110_IncomingPhonebook(int messagetype, 
unsigned char *message
                        if (message[5] != 0xff) {
                                data->memory_status->used = (message[16] << 8) 
+ message[17];
                                data->memory_status->free = ((message[14] << 8) 
+ message[15]) - data->memory_status->used;
-                               dprintf("Memory status - location = %d\n", 
(message[8] << 8) + message[9]);
+                               dprintf("Memory status - location = %d\n", 
(message[4] << 8) + message[5]);
                        } else {
                                dprintf("Unknown error getting mem status\n");
                                return GN_ERR_UNHANDLEDFRAME;

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

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


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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