X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Futf8.c;h=255383051ba010d5939bf3d5dc678af4e5bcbb70;hb=4c0a7a9cb02f9904c2e890f77ff8ce3a6beb25f4;hp=7b7b88f66ef462c4bdb7c1b3fed990cec8fdfd21;hpb=4c04137d73637107669e02b21f890387aaa2ef34;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/utf8.c b/src/src/utf8.c index 7b7b88f66..255383051 100644 --- a/src/src/utf8.c +++ b/src/src/utf8.c @@ -98,6 +98,7 @@ string_domain_alabel_to_utf8(const uschar * alabel, uschar ** err) const uschar * label; int sep = '.'; uschar * s = NULL; +int size = 0, len = 0; while (label = string_nextinlist(&alabel, &sep, NULL, 0)) if ( string_is_alabel(label) @@ -105,7 +106,7 @@ while (label = string_nextinlist(&alabel, &sep, NULL, 0)) ) return NULL; else - s = string_append_listele(s, '.', label); + s = string_append_listele(s, &size, &len, '.', label); return s; #else