From: <svn...@op...> - 2010-09-11 06:58:45
|
Author: cdfrey Date: Sat Sep 11 08:58:36 2010 New Revision: 6123 URL: http://www.opensync.org/changeset/6123 Log: Remove one more piece of duplicated data: timestamp marker key names Modified: plugins/google-calendar/src/gcalendar.c Modified: plugins/google-calendar/src/gcalendar.c ============================================================================== --- plugins/google-calendar/src/gcalendar.c Sat Sep 11 08:58:31 2010 (r6122) +++ plugins/google-calendar/src/gcalendar.c Sat Sep 11 08:58:36 2010 (r6123) @@ -332,7 +332,7 @@ if( !state_db ) goto error; - timestamp = osync_sink_state_get(state_db, "cal_timestamp", + timestamp = osync_sink_state_get(state_db, gdata->timestamp_name, &state_db_error); if (!timestamp) { msg = "gcalendar: Anchor returned is NULL!"; @@ -537,7 +537,8 @@ goto error; timestamp = osync_sink_state_get(osync_objtype_sink_get_state_db(sink), - "cont_timestamp", &state_db_error); + gdata->timestamp_name, + &state_db_error); if (!timestamp) { msg = "gcontact: Anchor returned is NULL!"; goto error; |