X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Ffmt_compile.c;h=2b32e7152a9fe45d8b8a2d68d86a1765589a9fff;hp=f4d92d29b47f44f487376cc4cab7b513da3abe10;hb=fc9279e818dfc96c63a5d75a89080cc68cfe1170;hpb=d4c34b4439a9dbd89664de460ed37ecddc260fb1 diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index f4d92d2..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 } }; @@ -309,7 +310,7 @@ fmt_compile(char *fstring, struct format **fmt) if (format_string) mh_free0(&format_string); - format_string = getcpy(fstring); + format_string = mh_xstrdup(fstring); usr_fstring = fstring; /* init the component hash table. */