[Freeassociation-devel] patch for icalproperty_kind_and_string_to_enum

crass at berlios.de crass at berlios.de
Wed Feb 24 14:01:24 PST 2010


There's a bug in icalproperty_kind_and_string_to_enum in which it will
return a non-zero number when it shouldn't.  For example:
icalproperty_kind_and_string_to_enum(ICAL_ACTION_PROPERTY, "OPAQUE")
currently returns 10062.  It should return 0 because there is no
ICAL_ACTION_PROPERTY with a property name of OPAQUE.  I've attached a
patch that fixes this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: icalproperty_kind_and_string_to_enum.patch
Type: text/x-patch
Size: 589 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/libical-devel/attachments/20100224/c3aad7ee/attachment.bin>


More information about the libical-devel mailing list