ons, 21.01.2004 kl. 08.24 skrev Bo Lincoln:
> > > Perhaps your phone calendar is full?
> > 
> > Shouldn't be, the phone says it's got 76% free calendar memory.
> 
> Seems like MultiSync fails to read the number of entries in your phone,
> or at least somethings is broken. It looks like multisync thinks you
> have about a billion entries. I'll look into it.

Since you seem busy, I also took a look myself, and the following patch
seems to help my case.

(note that I had to comment out that += deltachange line because
*records seems to become a very negative number otherwise, I think
that's something to look into too)

Index: syncengine.c
===================================================================
RCS file: /cvsroot/multisync/multisync/src/syncengine.c,v
retrieving revision 1.76
diff -u -r1.76 syncengine.c
--- syncengine.c        1 Dec 2003 22:46:56 -0000       1.76
+++ syncengine.c        27 Jan 2004 11:25:40 -0000
@@ -946,7 +946,7 @@
     maxrecords = &(otherconn->maxphonebookrecords);
     break;
   }
-  records += deltachange;
+  /* *records += deltachange; */
   if (maxrecords && *maxrecords > 0) {
     full=(((float) *records)/
          ((float) *maxrecords));
@@ -963,7 +963,7 @@
                                              SYNC_OBJ_SOFTDELETED,
                                              objtype, extra, NULL,
                                              SYNC_RECUR_NONE);
-       records--;
+       *records--;
        full=(((float) *records)/
              ((float) *maxrecords));
       }




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Multisync-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/multisync-users

Reply via email to