X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=b3f08b8e2971919f94c3a2a893a67512b57e8eb7;hp=6ae0b6b6d14e06b9a01277a98e5e218eb19c7a99;hb=364bf52ada05bf7d7158dba9d2391f63b71258f6;hpb=c913c66391836ffd64dfb0fe96eb66601860fc95 diff --git a/sendlib.c b/sendlib.c index 6ae0b6b..b3f08b8 100644 --- a/sendlib.c +++ b/sendlib.c @@ -27,6 +27,7 @@ #include "charset.h" #include "mutt_crypt.h" #include "mutt_idna.h" +#include "svnrev.h" #include "lib/mem.h" #include "lib/str.h" @@ -1615,7 +1616,7 @@ int mutt_write_rfc822_header (FILE * fp, ENVELOPE * env, BODY * attach, } } /* Add a vanity header */ - fprintf (fp, "User-Agent: mutt-ng/%s (%s)\n", MUTT_VERSION, os); + fprintf (fp, "User-Agent: %s (%s)\n", mutt_make_version (0), os); } return (ferror (fp) == 0 ? 0 : -1);