X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=450f543582f0a4207f3035ded8e47b093d81b6b5;hp=05191c97fe979d92f5c8cc784cfa019764045981;hb=618ceafdc9564dbb8f3bf45c3869297a1d5a3320;hpb=07449b789713bd8716a02214f536dfd72f3549b1 diff --git a/sendlib.c b/sendlib.c index 05191c9..450f543 100644 --- a/sendlib.c +++ b/sendlib.c @@ -805,7 +805,7 @@ CONTENT *mutt_get_content_info (const char *fname, BODY * b) CONTENT *info; CONTENT_STATE state; FILE *fp = NULL; - char *fromcode; + char *fromcode = NULL; char *tocode; char buffer[100]; char chsbuf[STRING]; @@ -1615,7 +1615,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);