summaryrefslogtreecommitdiff
path: root/src/libicalss
diff options
context:
space:
mode:
Diffstat (limited to 'src/libicalss')
-rw-r--r--src/libicalss/icalclassify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libicalss/icalclassify.c b/src/libicalss/icalclassify.c
index e7f8f52d..30536140 100644
--- a/src/libicalss/icalclassify.c
+++ b/src/libicalss/icalclassify.c
@@ -663,7 +663,7 @@ icalproperty_xlicclass icalclassify(icalcomponent *c, icalcomponent *match, cons
/* Determine if the incoming component is obsoleted by the match */
if (match != 0 && (comp_parts.method == ICAL_METHOD_REQUEST)) {
- assert(!((comp_parts.dtstamp.is_utc == 1) ^ (match_parts.dtstamp.is_utc == 1)));
+ assert(!((icaltime_is_utc(comp_parts.dtstamp) == 1) ^ (icaltime_is_utc(match_parts.dtstamp) == 1)));
if (comp_parts.sequence < match_parts.sequence &&
icaltime_compare(comp_parts.dtstamp, match_parts.dtstamp) > 0) {