X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/3b819525f14d5c7653404b11c68b49981f8ff7af..ea1fd31a3d41352b024fb35a1a781dce6a2f7afe:/sbr/m_mktemp.c diff --git a/sbr/m_mktemp.c b/sbr/m_mktemp.c index 338302c0..d4b8fde0 100644 --- a/sbr/m_mktemp.c +++ b/sbr/m_mktemp.c @@ -8,6 +8,8 @@ #include #include #include +#include "m_maildir.h" +#include "m_mktemp.h" static void register_for_removal(const char *); @@ -256,7 +258,7 @@ static svector_t exit_filelist = NULL; static void register_for_removal(const char *pathname) { if (exit_filelist == NULL) exit_filelist = svector_create(20); - (void) svector_push_back(exit_filelist, add(pathname, NULL)); + (void) svector_push_back(exit_filelist, mh_xstrdup(pathname)); } /*