gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Opensync-users] [PATCH] Speed up calendar fetch by not restarting n


From: Pawel Kot
Subject: Re: [Opensync-users] [PATCH] Speed up calendar fetch by not restarting note fetch
Date: Mon, 9 Jul 2007 22:28:39 +0200

Hi,

This is tough one. Indeed it will help with syncing the devices using
opensync. But for other apps constantly connected to the phone (phone
managers) it may cause problems that they won't notice new entries in
calendar (ie. removal of the entry and creating a new one).

I am not sure at the moment how to handle the issue.

take care,
pkot

On 7/9/07, Keith Packard <address@hidden> wrote:
---
 common/phones/nk6510.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index 6259dd5..59078f3 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -2862,9 +2862,12 @@ static gn_error NK6510_GetCalendarNotesInfo(gn_data 
*data, struct gn_statemachin
                                0x00};
        gn_error error;

-       data->calnote_list->location[0] = 0;
+#if 0
        /* Be sure it is 0 */
        data->calnote_list->last = 0;
+#endif
+       if (!data->calnote_list->last)
+               data->calnote_list->location[0] = 0;
        do {
                dprintf("Read %d of %d calendar entries\n", data->calnote_list->last, 
data->calnote_list->number);
                req[8] = data->calnote_list->location[LAST_INDEX] / 256;
--
1.5.2.2


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensync-users mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/opensync-users



--
Pawel Kot




reply via email to

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