- Add new function for demo printing hashes
[citadel.git] / libcitadel / lib / vcard.c
index 3264774d7405ac6274f0896ed1ff7635d792290b..f12a4efb599642dd7a2931de9e0c58fce25869fb 100644 (file)
@@ -93,7 +93,7 @@ void remove_charset_attribute(char *strbuf)
  * propname    name of new property
  * propvalue   value of new property
  */
-void vcard_add_prop(struct vCard *v, char *propname, char *propvalue) {
+void vcard_add_prop(struct vCard *v, const char *propname, const char *propvalue) {
        ++v->numprops;
        v->prop = realloc(v->prop,
                (v->numprops * sizeof(struct vCardProp)) );