aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits
diff options
context:
space:
mode:
author7 <jpr@helixcode.com>2000-10-28 00:53:30 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-10-28 00:53:30 +0800
commitc0de1438d0af9580cb84957f668638ffb30f04ad (patch)
tree393bf0e453831547dfc6e1e4e3d3d4d9412fe5e9 /calendar/conduits
parent8864045271b4540d8e5a4acbd681da8bf39c7eac (diff)
downloadgsoc2013-evolution-c0de1438d0af9580cb84957f668638ffb30f04ad.tar
gsoc2013-evolution-c0de1438d0af9580cb84957f668638ffb30f04ad.tar.gz
gsoc2013-evolution-c0de1438d0af9580cb84957f668638ffb30f04ad.tar.bz2
gsoc2013-evolution-c0de1438d0af9580cb84957f668638ffb30f04ad.tar.lz
gsoc2013-evolution-c0de1438d0af9580cb84957f668638ffb30f04ad.tar.xz
gsoc2013-evolution-c0de1438d0af9580cb84957f668638ffb30f04ad.tar.zst
gsoc2013-evolution-c0de1438d0af9580cb84957f668638ffb30f04ad.zip
Check boundary case of fast sync
2000-10-27 <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (check_for_slow_setting): Check boundary case of fast sync * conduits/todo/todo-conduit.c (check_for_slow_setting): ditto svn path=/trunk/; revision=6233
Diffstat (limited to 'calendar/conduits')
-rw-r--r--calendar/conduits/calendar/calendar-conduit.c2
-rw-r--r--calendar/conduits/todo/todo-conduit.c2
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);