use my own APIS for headers, parameters and so on
[apps/madmutt.git] / query.c
diff --git a/query.c b/query.c
index 398f3b4..0b72303 100644 (file)
--- a/query.c
+++ b/query.c
@@ -401,8 +401,8 @@ static void query_menu (char *buf, size_t buflen, QUERY * results, int retbuf)
         /* fall through to OP_MAIL */
 
       case OP_MAIL:
-        msg = mutt_new_header ();
-        msg->env = mutt_new_envelope ();
+        msg = header_new();
+        msg->env = envelope_new();
         if (!menu->tagprefix) {
           msg->env->to = result_to_addr (QueryTable[menu->current].data);
         }