X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Faddrharvest.c;h=2c00a58a671ad543442f2b07d1ff450a1cc4e36d;hp=e4cb2415c7fc3019e3c537b9cec4e9582a4d4c9e;hb=5865efce5e3fd72a381db5973974c01e4a40c82c;hpb=6fddfe6b58e646c4d8135a8d05f3fd3d3d99cf9c diff --git a/src/addrharvest.c b/src/addrharvest.c index e4cb2415c..2c00a58a6 100644 --- a/src/addrharvest.c +++ b/src/addrharvest.c @@ -513,6 +513,7 @@ static void addrharvest_parse_address( AddressCache *cache, const gchar *hdrBuf ) { gchar buffer[ ADDR_BUFFSIZE + 2 ]; + gchar buf[ADDR_BUFFSIZE]; const gchar *bp; const gchar *ep; gchar *atCh, *email, *name; @@ -555,7 +556,8 @@ static void addrharvest_parse_address( } else { name = buffer; - conv_unmime_header_overwrite(name); + conv_unmime_header(buf, sizeof(buf), name, + NULL); } /* Insert into address book */