]> granicus.if.org Git - neomutt/commitdiff
Fixing a silly typo in the edit-message code.
authorThomas Roessler <roessler@does-not-exist.org>
Sat, 12 Sep 1998 19:58:56 +0000 (19:58 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sat, 12 Sep 1998 19:58:56 +0000 (19:58 +0000)
sendlib.c

index 5e989b487f9007d7d917a654e85997850065cd5b..11859939df1238c3330519e6d2f5a27165409322 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -1211,7 +1211,7 @@ int mutt_write_rfc822_header (FILE *fp, ENVELOPE *env, BODY *attach, int mode)
 
   if (mode == 0)
     fputs (mutt_make_date (buffer, sizeof(buffer)), fp);
-  else if (mode == 2)
+  else if (mode == -2)
   {
     if(env->date)
       fprintf(fp, "Date: %s\n", env->date);