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


From: Daniele Forsi
Subject: [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-528-g49c4d11
Date: Thu, 09 May 2013 21:48:33 +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  49c4d11a1dc9ae896ca9acc97e6674372f4e8ba1 (commit)
      from  601cd15e92164a5b0c0931b08e0c1aa67d0e7761 (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=49c4d11a1dc9ae896ca9acc97e6674372f4e8ba1


commit 49c4d11a1dc9ae896ca9acc97e6674372f4e8ba1
Author: Daniele Forsi <address@hidden>
Date:   Thu May 9 23:25:37 2013 +0200

    Fix regression introduced by commit 1249e9ae
    
    Bug report: 
http://lists.nongnu.org/archive/html/gnokii-users/2013-05/msg00002.html

diff --git a/common/phones/atgen.c b/common/phones/atgen.c
index 46dfe7d..16043ab 100644
--- a/common/phones/atgen.c
+++ b/common/phones/atgen.c
@@ -1028,7 +1028,6 @@ static gn_error AT_WritePhonebook(gn_data *data, struct 
gn_statemachine *state)
        if (len >= sizeof(number))
                return GN_ERR_ENTRYTOOLONG;
 
-
        len = at_encode(drvinst->charset, name, sizeof(name),
                        data->phonebook_entry->name,
                        strlen(data->phonebook_entry->name)) - 1;
@@ -1036,7 +1035,7 @@ static gn_error AT_WritePhonebook(gn_data *data, struct 
gn_statemachine *state)
                return GN_ERR_ENTRYTOOLONG;
 
        len = snprintf(req, sizeof(req), "AT+CPBW=%d,\"%s\",%d,\"%s\"\r\n",
-                      data->phonebook_entry->location,
+                      data->phonebook_entry->location + drvinst->memoryoffset,
                       number,
                       data->phonebook_entry->number[0] == '+' ? 
GN_GSM_NUMBER_International : GN_GSM_NUMBER_Unknown,
                       name);

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

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


hooks/post-receive
-- 
libgnokii and core programs



reply via email to

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