X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=imap%2Fmx_imap.c;fp=imap%2Fmx_imap.c;h=a851537b0ecef645d23aa7d039128cc2abc2e9cb;hp=29abeecf4fe99662f6871060b8a70e3adac981d9;hb=7f7a0be369840b290248e5b0302beb447fa1b3cd;hpb=308c7080ccca40d4865d8810f5528331d9ed61ff diff --git a/imap/mx_imap.c b/imap/mx_imap.c index 29abeec..a851537 100644 --- a/imap/mx_imap.c +++ b/imap/mx_imap.c @@ -10,6 +10,7 @@ #include #include +#include #include "mutt.h" #include "imap_private.h" @@ -17,7 +18,6 @@ #include "mx.h" #include "mx_imap.h" -#include "lib/str.h" #include "url.h" @@ -43,7 +43,7 @@ static int imap_open_new_message (MESSAGE * msg, CONTEXT * dest, HEADER * hdr) mutt_perror (tmp); return (-1); } - msg->path = str_dup (tmp); + msg->path = m_strdup(tmp); return 0; }