avoid parsing of header contained in a string via a newly written temporary file...
[claws.git] / src / messageview.c
index 4f4ab2f5cf75cb6915d069d82e92ba7c07531fb0..e7fd2e3082e68d513e64258acd0a3af031091d70 100644 (file)
@@ -450,7 +450,7 @@ static gint disposition_notification_send(MsgInfo *msginfo)
        else
                to = msginfo->returnreceiptto;
 
-       ok = get_header_from_msginfo(msginfo, buf, sizeof(buf),
+       ok = procheader_get_header_from_msginfo(msginfo, buf, sizeof(buf),
                                "Return-Path:");
        if (ok == 0) {
                gchar *to_addr = g_strdup(to);