prop = isAPropertyOf(v, id);
nsCOMPtr<nsIMsgVCardService> vCardService = do_GetService(MSGVCARDSERVICE_CONTRACT_ID); if (!vCardService) return -1;  prop = vCardService->IsAPropertyOf(v, id);
static int OutputVcardAttribute(MimeObject *obj, VObject *v, const char* id) {  int status = 0;  VObject *prop = NULL;  char *string = NULL;  prop = isAPropertyOf(v, id);  if (prop)    if (VALUE_TYPE(prop))    {      if (VALUE_TYPE(prop) != VCVT_RAW)        string = fakeCString (vObjectUStringZValue(prop));      else      {        string = (char *)PR_MALLOC(strlen((char *) vObjectAnyValue(prop)) + 1);        if (string)          PL_strcpy(string, (char *) vObjectAnyValue(prop));      }      if (string) {        status = OutputFont(obj, PR_FALSE, "-1", NULL);        if (status < 0) {          PR_FREEIF (string);          return status;        }        status = WriteLineToStream (obj, string, PR_TRUE);        PR_FREEIF (string);        if (status < 0) return status;        status = OutputFont(obj, PR_TRUE, NULL, NULL);        if (status < 0) return status;      }    }  return 0;}