X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=muttlib.c;h=c8339efc6396ba6efb172bab97bfda01ec34e0aa;hb=201fd8633cc86ccda413c919ae6e2ae04e89b4a9;hp=a9d58e9eacfddd0becdacc6c558b0a30346ba7c3;hpb=13ce824381b10ea5a66d6ec6177863e4a5e73639;p=apps%2Fmadmutt.git diff --git a/muttlib.c b/muttlib.c index a9d58e9..c8339ef 100644 --- a/muttlib.c +++ b/muttlib.c @@ -21,9 +21,10 @@ #include +#include +#include + #include "mutt.h" -#include "enter.h" -#include "mutt_curses.h" #include "mx.h" #include "url.h" #include "attach.h" @@ -590,7 +591,7 @@ void mutt_merge_envelopes(ENVELOPE* base, ENVELOPE** extra) void _mutt_mktemp (char *s, const char *src, int line) { - snprintf (s, _POSIX_PATH_MAX, "%s/muttng-%s-%d-%d-%d-%x%x", NONULL (Tempdir), + snprintf (s, _POSIX_PATH_MAX, "%s/madmutt-%s-%d-%d-%d-%x%x", NONULL (Tempdir), NONULL (Hostname), (int) getuid (), (int) getpid (), Counter++, (unsigned int) rand(), (unsigned int) rand()); debug_print (1, ("%s:%d: mutt_mktemp returns \"%s\".\n", src, line, s)); @@ -1219,10 +1220,10 @@ const char *mutt_make_version (int full) if (full) snprintf (vstring, sizeof (vstring), - "Mutt-ng %s-r%s (based on Mutt 1.5.11)", + "Madmutt/%s-r%s (based on Mutt 1.5.11)", MUTT_VERSION, MUTT_REVISION); else - snprintf (vstring, sizeof (vstring), "mutt-ng/%s-r%s", + snprintf (vstring, sizeof (vstring), "Madmutt/%s-%s", MUTT_VERSION, MUTT_REVISION); return vstring; }