From: <dg...@su...> - 2009-01-17 00:25:44
|
Author: Graham Cobb Date: Sat Jan 17 01:24:48 2009 New Revision: 5177 URL: http://www.opensync.org/changeset/5177 Log: gpe-sync: fix crash in report_deleted Modified: plugins/gpe/ChangeLog plugins/gpe/src/utils.c Modified: plugins/gpe/ChangeLog ============================================================================== --- plugins/gpe/ChangeLog Sat Jan 17 01:09:13 2009 (r5176) +++ plugins/gpe/ChangeLog Sat Jan 17 01:24:48 2009 (r5177) @@ -1,3 +1,7 @@ +2009-01-17 Graham Cobb <g+...@co...> + + * src/utils.c (report_deleted): Fix end condition for uids loop + 2009-01-16 Graham Cobb <g+...@co...> * src/calendar.c: Update to new sink functions API: gpe_calendar_commit_change, Modified: plugins/gpe/src/utils.c ============================================================================== --- plugins/gpe/src/utils.c Sat Jan 17 01:09:13 2009 (r5176) +++ plugins/gpe/src/utils.c Sat Jan 17 01:24:48 2009 (r5177) @@ -139,7 +139,7 @@ //check for deleted entries ... via hashtable int i; OSyncList *u, *uids = osync_hashtable_get_deleted(sinkenv->hashtable); - for (u = uids; uids; u = u->next) { + for (u = uids; u; u = u->next) { OSyncChange *change = osync_change_new(&error); if (!change) { osync_context_report_osyncwarning(ctx, error); |