aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/calendar-pilot-sync.c7
-rw-r--r--calendar/gui/calendar-pilot-sync.c7
3 files changed, 12 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 49293907cb..2bb6396715 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+1999-08-07 Peter Teichman <pat4@acpub.duke.edu>
+
+ * calendar-pilot-sync.c (sync_pilot): sync correctly for objects
+ created on the pilot, but not dirty (because they have been synced
+ with some other program in the past)
+
1999-07-30 Miguel de Icaza <miguel@gnu.org>
* month-view.c (month_view_init): Release points here.
diff --git a/calendar/calendar-pilot-sync.c b/calendar/calendar-pilot-sync.c
index 9461278e8b..e8261197af 100644
--- a/calendar/calendar-pilot-sync.c
+++ b/calendar/calendar-pilot-sync.c
@@ -581,10 +581,9 @@ sync_pilot (GNOME_Calendar_Repository repo, int pilot_fd)
if (attr & dlpRecAttrArchived)
continue;
- if (attr & dlpRecAttrDirty){
- printf ("updating record\n");
- update_record (repo, id, &a, attr);
- }
+ printf ("updating record\n");
+ update_record (repo, id, &a, attr);
+
conduit_free_Appointment (&a);
}
}
diff --git a/calendar/gui/calendar-pilot-sync.c b/calendar/gui/calendar-pilot-sync.c
index 9461278e8b..e8261197af 100644
--- a/calendar/gui/calendar-pilot-sync.c
+++ b/calendar/gui/calendar-pilot-sync.c
@@ -581,10 +581,9 @@ sync_pilot (GNOME_Calendar_Repository repo, int pilot_fd)
if (attr & dlpRecAttrArchived)
continue;
- if (attr & dlpRecAttrDirty){
- printf ("updating record\n");
- update_record (repo, id, &a, attr);
- }
+ printf ("updating record\n");
+ update_record (repo, id, &a, attr);
+
conduit_free_Appointment (&a);
}
}