summaryrefslogtreecommitdiff
path: root/pith/ical.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/ical.c')
-rw-r--r--pith/ical.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pith/ical.c b/pith/ical.c
index 64731a96..d2c8e2ba 100644
--- a/pith/ical.c
+++ b/pith/ical.c
@@ -573,6 +573,12 @@ char *ical_get_value(char **line)
*s = '\r';
*line = s+2;
}
+ else{
+ t = NULL;
+ s = strchr(*line, '\r');
+ if(s != NULL)
+ *line = s + 2;
+ }
return t;
}