Index: pilot-link/libsock/sync.c =================================================================== RCS file: /cvs/pilot-link/pilot-link_src/libsock/sync.c,v retrieving revision 1.21 diff -u -r1.21 sync.c --- pilot-link/libsock/sync.c 6 Jun 2001 08:16:57 -0000 1.21 +++ pilot-link/libsock/sync.c 17 Oct 2001 22:30:51 -0000 @@ -392,6 +392,11 @@ dchange = (drecord->flags & dlpRecAttrDirty) && (!ddel); } + /* Bail if the pilot record was created and deleted between syncs */ + if (drecord == NULL && !parch && pdel) + return 0; + + /* Sync logic */ if (precord != NULL && !parch && !pdel && drecord == NULL) { DesktopCheck(sh->AddRecord(sh, precord));