0.8.10claws64
[claws.git] / src / account.c
index 04b8e5898a4609db26bf75bbba38ef1a6a8df1cf..dfbad2694a6510751a9e7ce7e7e5cb9aeadd7601 100644 (file)
@@ -45,6 +45,7 @@
 #include "gtkutils.h"
 #include "utils.h"
 #include "alertpanel.h"
+#include "procheader.h"
 
 typedef enum
 {
@@ -1007,7 +1008,7 @@ PrefsAccount *account_get_reply_account(MsgInfo *msginfo, gboolean reply_autosel
        if (reply_autosel) {
                if (!account && msginfo->to) {
                        gchar *to;
-                       Xstrdup_a(to, msginfo->to, return);
+                       Xstrdup_a(to, msginfo->to, return NULL);
                        extract_address(to);
                        account = account_find_from_address(to);
                }