gnokii-users
[Top][All Lists]
Advanced

[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: Sat, 24 Aug 2002 23:09:54 +0200
User-agent: Mutt/1.4i

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 entries, only the
first 'used' number of them.

I've found the problem in xgnokii/xgnokii_lowlevel.c

This patch would solve the problem:
----- 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? V? PS+ PE Y+ PGP- t+(-) 5++(+++) X+ R tv-(+) b+ DI>+++ D+ G e h! r-- y 
------END GEEK CODE BLOCK------ 




reply via email to

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