diff options
Diffstat (limited to 'calendar/conduits')
-rw-r--r-- | calendar/conduits/calendar/calendar-conduit.c | 2 | ||||
-rw-r--r-- | calendar/conduits/todo/todo-conduit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/calendar/conduits/calendar/calendar-conduit.c b/calendar/conduits/calendar/calendar-conduit.c index df756728db..2429e317d7 100644 --- a/calendar/conduits/calendar/calendar-conduit.c +++ b/calendar/conduits/calendar/calendar-conduit.c @@ -587,7 +587,7 @@ check_for_slow_setting (GnomePilotConduit *c, ECalConduitContext *ctxt) map_count = g_hash_table_size (ctxt->map->pid_map); /* If there are no objects or objects but no log */ - if ((count == 0) || (count > 0 && map_count == 0)) { + if (map_count == 0) { GnomePilotConduitStandard *conduit; LOG (" doing slow sync\n"); conduit = GNOME_PILOT_CONDUIT_STANDARD (c); diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c index beca13159d..2c4e5e8ff3 100644 --- a/calendar/conduits/todo/todo-conduit.c +++ b/calendar/conduits/todo/todo-conduit.c @@ -460,7 +460,7 @@ check_for_slow_setting (GnomePilotConduit *c, EToDoConduitContext *ctxt) map_count = g_hash_table_size (ctxt->map->pid_map); /* If there are no objects or objects but no log */ - if ((count == 0) || (count > 0 && map_count == 0)) { + if (map_count == 0) { GnomePilotConduitStandard *conduit; LOG (" doing slow sync\n"); conduit = GNOME_PILOT_CONDUIT_STANDARD (c); |