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