aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libical/ChangeLog6
-rw-r--r--libical/src/libical/icalparameter.c.in8
2 files changed, 10 insertions, 4 deletions
diff --git a/libical/ChangeLog b/libical/ChangeLog
index 1f7ac5735e..a20db25af0 100644
--- a/libical/ChangeLog
+++ b/libical/ChangeLog
@@ -1,3 +1,9 @@
+2001-02-09 JP Rosevear <jpr@ximian.com>
+
+ * src/libical/icalparameter.c.in (icalparameter_new_from_string):
+ its NEEDS-ACTION rather than NEEDSACTION
+ (icalparameter_as_ical_string): ditto
+
2001-02-06 Christopher James Lahey <clahey@ximian.com>
* src/libical/icallangbind.c: Added a missing #include here.
diff --git a/libical/src/libical/icalparameter.c.in b/libical/src/libical/icalparameter.c.in
index 00e9280c7d..6ffb9b27eb 100644
--- a/libical/src/libical/icalparameter.c.in
+++ b/libical/src/libical/icalparameter.c.in
@@ -3,7 +3,7 @@
FILE: icalderivedparameters.{c,h}
CREATOR: eric 09 May 1999
- $Id: icalparameter.c.in,v 1.3 2001/01/23 20:22:33 jpr Exp $
+ $Id: icalparameter.c.in,v 1.4 2001/02/09 07:09:46 jpr Exp $
$Locker: $
@@ -154,7 +154,7 @@ struct param_string_map {
{ICAL_FBTYPE_PARAMETER,ICAL_FBTYPE_BUSY,"BUSY"},
{ICAL_FBTYPE_PARAMETER,ICAL_FBTYPE_BUSYUNAVAILABLE,"BUSYUNAVAILABLE"},
{ICAL_FBTYPE_PARAMETER,ICAL_FBTYPE_BUSYTENTATIVE,"BUSYTENTATIVE"},
- {ICAL_PARTSTAT_PARAMETER,ICAL_PARTSTAT_NEEDSACTION,"NEEDSACTION"},
+ {ICAL_PARTSTAT_PARAMETER,ICAL_PARTSTAT_NEEDSACTION,"NEEDS-ACTION"},
{ICAL_PARTSTAT_PARAMETER,ICAL_PARTSTAT_ACCEPTED,"ACCEPTED"},
{ICAL_PARTSTAT_PARAMETER,ICAL_PARTSTAT_DECLINED,"DECLINED"},
{ICAL_PARTSTAT_PARAMETER,ICAL_PARTSTAT_TENTATIVE,"TENTATIVE"},
@@ -429,7 +429,7 @@ icalparameter* icalparameter_new_from_string(icalparameter_kind kind, char* val)
}
case ICAL_PARTSTAT_PARAMETER:
{
- if(strcmp(val,"NEEDSACTION") == 0){
+ if(strcmp(val,"NEEDS-ACTION") == 0){
param = icalparameter_new_partstat(ICAL_PARTSTAT_NEEDSACTION);
}
else if(strcmp(val,"ACCEPTED") == 0){
@@ -829,7 +829,7 @@ icalparameter_as_ical_string (icalparameter* parameter)
{
switch (impl->data.v_partstat) {
case ICAL_PARTSTAT_NEEDSACTION: {
- strcpy(tend,"NEEDSACTION");break;
+ strcpy(tend,"NEEDS-ACTION");break;
}
case ICAL_PARTSTAT_ACCEPTED: {
strcpy(tend,"ACCEPTED");break;