[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-44
From: |
Daniele Forsi |
Subject: |
[SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-443-g2d8c891 |
Date: |
Tue, 05 Mar 2013 13:40:00 +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 2d8c891c034dcfea56ea3284368d40dddf4c04e3 (commit)
from 5600a82cc620799139e017c377a9eef56c6688f5 (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=2d8c891c034dcfea56ea3284368d40dddf4c04e3
commit 2d8c891c034dcfea56ea3284368d40dddf4c04e3
Author: Daniele Forsi <address@hidden>
Date: Tue Mar 5 14:30:50 2013 +0100
Pretend that model=fake only supports ME phonebook
It could support more memory types but at this moment the contact
entries provided for testing are hardcoded as being from ME and
this means that xgnokii will show duplicated entries (one wrongly
read from SM and one correctly read from ME).
diff --git a/common/phones/fake.c b/common/phones/fake.c
index 4e1fa05..9fc8ac5 100644
--- a/common/phones/fake.c
+++ b/common/phones/fake.c
@@ -493,6 +493,9 @@ static gn_error fake_readphonebook(gn_data *data, struct
gn_statemachine *state)
if (pe->location < 1 || pe->location > sizeof(fake_phonebook) /
sizeof(*fake_phonebook))
return GN_ERR_INVALIDLOCATION;
+ if (pe->memory_type != GN_MT_ME)
+ return GN_ERR_INVALIDMEMORYTYPE;
+
if (!fake_phonebook[pe->location - 1])
#if 1
/* This is to emulate those phones that return error for empty
locations */
-----------------------------------------------------------------------
Summary of changes:
common/phones/fake.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
hooks/post-receive
--
libgnokii and core programs
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] libgnokii and core programs branch, master, updated. rel_0_6_29-443-g2d8c891,
Daniele Forsi <=