Changeset 3668

Show
Ignore:
Timestamp:
09/30/08 01:31:15 (2 months ago)
Author:
paule
Message:

Fix broken logic for reading dates; remove unused header. Patch courtesy of Erik Hovland <erik at hovland org>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/opie-sync/src/opie_format.c

    r3642 r3668  
    3232#include <opensync/opensync-time.h> 
    3333#include <opensync/opensync-format.h> 
    34 #include <opensync/opensync-data.h> 
    3534#include <opensync/opensync-merger.h> 
    3635#include <opensync/opensync-xmlformat.h> 
     
    10981097                } 
    10991098                else if(!strcmp("DateStarted", fieldname)) { 
    1100                         xmlfield_vtime_to_attr_time_t(in_xmlfield, on_event, "start"); 
     1099                        start_time = xmlfield_vtime_to_attr_time_t(in_xmlfield, on_event, "start"); 
    11011100                } 
    11021101                else if(!strcmp("DateEnd", fieldname)) { 
    1103                         xmlfield_vtime_to_attr_time_t(in_xmlfield, on_event, "end"); 
     1102                        end_time = xmlfield_vtime_to_attr_time_t(in_xmlfield, on_event, "end"); 
    11041103                } 
    11051104                else if(!strcmp("Categories", fieldname)) {