if (nsCRT::strcasecmp (VCTelephoneProp, vObjectName(o)) == 0)
if (nsCRT::strcasecmp (VCTelephoneProp, vCardService->VObjectName(o)) == 0)
static int WriteOutEachVCardPhoneProperty (MimeObject *obj, VObject* o){  char *attribName = NULL;  char *value = NULL;  int status = 0;  if (vObjectName(o))   {    if (nsCRT::strcasecmp (VCTelephoneProp, vObjectName(o)) == 0)     {      if (VALUE_TYPE(o))       {        GetTelephoneProperties(o, &attribName);        if (!attribName)          attribName = VCardGetStringByID(VCARD_LDAP_PHONE_NUMBER);        attribName = NS_MsgSACat(&attribName, ": ");        value = fakeCString (vObjectUStringZValue(o));        if (value)        {          if (attribName)          {            status = OutputFont(obj, PR_FALSE, "-1", NULL);            if (status < 0) {              PR_FREEIF (value);              PR_FREEIF (attribName);              return status;            }            // write a label without charset conversion            status = WriteLineToStream (obj, attribName, PR_FALSE);            if (status < 0) {              PR_FREEIF (value);              PR_FREEIF (attribName);              return status;            }            // write value with charset conversion            status = WriteLineToStream (obj, value, PR_TRUE);            if (status < 0) {              PR_FREEIF (value);              PR_FREEIF (attribName);              return status;            }            status = OutputFont(obj, PR_TRUE, NULL, NULL);            if (status < 0) {              PR_FREEIF (value);              PR_FREEIF (attribName);              return status;            }          }          PR_FREEIF (attribName);        }        PR_FREEIF (value);      }    }  }  return status;}