X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Ffmt_compile.c;h=2b32e7152a9fe45d8b8a2d68d86a1765589a9fff;hp=85ed7d74f2032e587ddc76c8a436a8b515729c45;hb=fc9279e818dfc96c63a5d75a89080cc68cfe1170;hpb=b78007de9802005825390bee71dfce2306b42519 diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index 85ed7d7..2b32e71 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -203,6 +203,7 @@ static struct ftable functable[] = { { "mymbox", TF_COMP, FT_LV_COMPFLAG, FT_MYMBOX, TFL_PUTN }, { "unquote", TF_EXPR, FT_LS_UNQUOTE, 0, TFL_PUTS}, + { "unmailto", TF_EXPR, FT_LS_UNMAILTO, 0, TFL_PUTS}, { NULL, 0, 0, 0, 0 } }; @@ -308,8 +309,8 @@ fmt_compile(char *fstring, struct format **fmt) size_t i; if (format_string) - free(format_string); - format_string = getcpy(fstring); + mh_free0(&format_string); + format_string = mh_xstrdup(fstring); usr_fstring = fstring; /* init the component hash table. */