SIZEDTEXT txt;
/* convert entire stringstruct */
if (st) do if (utf8_text (&st->text,charset,&txt,U8T_CANONICAL)) {
- fs_give ((void **) &st->text.data);
st->text.data = txt.data; /* transfer this text */
st->text.size = txt.size;
+ fs_give ((void **) &st->text.data);
} while (st = st->next);
}
hl->line.size = txt.size;
}
if (utf8_text (&hl->text,charset,&txt,U8T_CANONICAL)) {
- fs_give ((void **) &hl->text.data);
hl->text.data = txt.data;
hl->text.size = txt.size;
+ fs_give ((void **) &hl->text.data);
}
}
utf8_stringlist (pgm->body,charset);