[PATCH] User-Agent: ReleaseDate in brackets
Hi.
I'd be very happy if you'd consider applying the attached patch, so that
we get:
User-Agent: Mutt/1.5.12 (2006-07-14)
Instead of:
User-Agent: Mutt/1.5.12-2006-07-14
I don't know about others, but I found the latter a tad ugly. O:-)
Thanks,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Listening to: The Rolling Stones - Beast Of Burden
Index: sendlib.c
===================================================================
RCS file: /home/roessler/cvs/mutt/sendlib.c,v
retrieving revision 3.39
diff -u -p -r3.39 sendlib.c
--- sendlib.c 8 Jun 2006 11:56:05 -0000 3.39
+++ sendlib.c 17 Jul 2006 13:21:51 -0000
@@ -1649,7 +1649,7 @@ int mutt_write_rfc822_header (FILE *fp,
if (mode == 0 && !privacy && option (OPTXMAILER) && !has_agent)
{
/* Add a vanity header */
- fprintf (fp, "User-Agent: Mutt/%s-%s\n", MUTT_VERSION, ReleaseDate);
+ fprintf (fp, "User-Agent: Mutt/%s (%s)\n", MUTT_VERSION, ReleaseDate);
}
return (ferror (fp) == 0 ? 0 : -1);