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-11


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-11-g410acb5
Date: Sun, 09 May 2010 21:03:25 +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  410acb53ae2210720da953622a79e0b74dd06a45 (commit)
      from  cf56799a4206f0fa87d561d47b58a5f101ccfd7a (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=410acb53ae2210720da953622a79e0b74dd06a45


commit 410acb53ae2210720da953622a79e0b74dd06a45
Author: Daniele Forsi <address@hidden>
Date:   Sun May 9 22:55:47 2010 +0200

    Fix reading SMS from AR and TE with Nokia 7110
    
    Do not convert with get_memory_type() because the value in
    data->sms_folder_list->folder_id[] is a GN_MT_* not a NK7110_MEMORY_*

diff --git a/common/phones/nk7110.c b/common/phones/nk7110.c
index 025516f..4e18953 100644
--- a/common/phones/nk7110.c
+++ b/common/phones/nk7110.c
@@ -1252,7 +1252,7 @@ static gn_error ValidateSMS(gn_data *data, struct 
gn_statemachine *state)
 
        if (data->raw_sms->memory_type != data->sms_folder->folder_id) {
                if ((error = NK7110_GetSMSFolders(data, state)) != GN_ERR_NONE) 
return error;
-               if ((get_memory_type(data->raw_sms->memory_type) >
+               if ((data->raw_sms->memory_type >
                     
data->sms_folder_list->folder_id[data->sms_folder_list->number - 1]) ||
                    (data->raw_sms->memory_type < 12))
                        return GN_ERR_INVALIDMEMORYTYPE;

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

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]