]> granicus.if.org Git - neomutt/commitdiff
Change formate of User-Agent header from Mutt/Version-Date to
authorAdeodato Simó <dato@net.com.org.es>
Mon, 17 Jul 2006 17:56:37 +0000 (17:56 +0000)
committerAdeodato Simó <dato@net.com.org.es>
Mon, 17 Jul 2006 17:56:37 +0000 (17:56 +0000)
Mutt/Version (Date).

sendlib.c

index 75e3cb187012b27647826d21bc92daf25c303474..c629f6858e12834fbeab6e1e2e060fd4fbc7331c 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -1649,7 +1649,7 @@ int mutt_write_rfc822_header (FILE *fp, ENVELOPE *env, BODY *attach,
   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);