int i;
static void encode_headers (LIST *h){  char *tmp;  char *p;  for (; h; h = h->next)  {    if ((p = strchr (h->data, ':')))    {      *p++ = 0;      SKIPWS (p);      tmp = safe_strdup (p);      rfc2047_encode_string (&tmp);      safe_realloc ((void **) &h->data, 		    strlen (h->data) + 2 + strlen (tmp) + 1);      strcat (h->data, ": ");	/* __STRCAT_CHECKED__ */      strcat (h->data, tmp);	/* __STRCAT_CHECKED__ */      safe_free ((void **) &tmp);    }  }}