[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xgnokii: don't read all phonebook entries
From: |
Pal Tamas |
Subject: |
xgnokii: don't read all phonebook entries |
Date: |
Sun, 25 Aug 2002 20:19:21 +0200 (CEST) |
Hello,
I've got this problem with my 6110 and gnokii version 0.4.3
and up:
When reading the phonebooks xgnokii doesn't read all the
memory entries , only the first 'used' number of them.
I've found the problem in xgnokii/xgnokii_lowlevel.c
This patch would solve the problem(CVS version 20020824:
----- cut here -----
--- gnokii-cvs/gnokii-orig/xgnokii/xgnokii_lowlevel.c Mon
Aug 19 01:30:48
2002
+++ gnokii-cvs/gnokii/xgnokii/xgnokii_lowlevel.c Sat Aug 24
19:36:52 2002
@@ -551,7 +551,7 @@
/* FIXME: It only works this way at the
moment */
/* if (error != GE_NONE)
break;*/
- if (read == mla->used) {
+ if (read == mla->max) {
mla->status = error;
entry.Empty = true;
entry.Name[0] = 0;
----- cut here -----
Tamas Pal
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1.2
GU d- s:+ a-- C++>++++$ UL++>++++$ P+>+++ L+++>++++ E+ W+
N+ o-- K? w(+) O? M?
- xgnokii: don't read all phonebook entries,
Pal Tamas <=