// Ok, if we got this far, look into the situation further...
- if (CM_IsEmpty(msg, eMesageText)) return(0);
+ if (CM_IsEmpty(msg, eMessageText)) return(0);
- mime_parser(CM_RANGE(msg, eMesageText),
+ mime_parser(CM_RANGE(msg, eMessageText),
*vcard_extract_vcard,
NULL, NULL,
&v, // user data ptr - put the vcard here
StrBufAppendBufPlain(buf, HKEY("Content-type: " VCARD_MIME_TYPE "\r\n\r\n"), 0);
StrBufAppendBufPlain(buf, ser, serlen, 0);
StrBufAppendBufPlain(buf, HKEY("\r\n"), 0);
- CM_SetAsFieldSB(msg, eMesageText, &buf);
+ CM_SetAsFieldSB(msg, eMessageText, &buf);
free(ser);
}
if (!is_UserConf && !is_GAB) return(0);
- if (CM_IsEmpty(msg, eMesageText))
+ if (CM_IsEmpty(msg, eMessageText))
return 0;
- ptr = msg->cm_fields[eMesageText];
+ ptr = msg->cm_fields[eMessageText];
CC->vcard_updated_by_ldap=0; /* As this will write LDAP's previous changes, disallow LDAP change auth until next LDAP change. */
/* Store our friendly/display name in memory */
if (is_MY_UserConf) {
- v = vcard_load(msg->cm_fields[eMesageText]);
+ v = vcard_load(msg->cm_fields[eMessageText]);
extract_friendly_name(CC->cs_inet_fn, sizeof CC->cs_inet_fn, v);
vcard_free(v);
}
msg = CtdlFetchMessage(VCmsgnum, 1);
if (msg == NULL) return vcard_new();
- v = vcard_load(msg->cm_fields[eMesageText]);
+ v = vcard_load(msg->cm_fields[eMessageText]);
CM_Free(msg);
return v;
}
msg = CtdlFetchMessage(msgnum, 1);
if (msg == NULL) return;
- mime_parser(CM_RANGE(msg, eMesageText),
+ mime_parser(CM_RANGE(msg, eMessageText),
*dvca_mime_callback, /* callback function */
NULL, NULL,
NULL, /* user data */
msg = CtdlFetchMessage(msgnum, 1);
if (msg == NULL) return;
- v = vcard_load(msg->cm_fields[eMesageText]);
+ v = vcard_load(msg->cm_fields[eMessageText]);
CM_Free(msg);
i = 0;
StrBufAppendBufPlain(buf, HKEY("Content-type: " VCARD_MIME_TYPE "\r\n\r\n"), 0);
StrBufAppendBufPlain(buf, ser, serlen, 0);
StrBufAppendBufPlain(buf, HKEY("\r\n"), 0);
- CM_SetAsFieldSB(vmsg, eMesageText, &buf);
+ CM_SetAsFieldSB(vmsg, eMessageText, &buf);
free(ser);
}
vcard_free(v);