Hi,

is there a reason for not putting the year in the logfile? 

I am not a very expert programmer, but I think this small change should
do it, shouldn't?

Thanks for providing msmtp!

Best

Igor

-- 
:: Igor Sosa Mayor     :: joseleopoldo1...@gmail.com ::
:: GnuPG: 0x1C1E2890   :: http://www.gnupg.org/      ::
:: jabberid: rogorido  ::                            ::
diff --git a/src/msmtp.c b/src/msmtp.c
index 9704084..fe57010 100644
--- a/src/msmtp.c
+++ b/src/msmtp.c
@@ -2058,7 +2058,7 @@ void msmtp_log_to_file(const char *logfile, const char 
*loginfo)
         failure_reason = xstrdup(_("cannot convert UTC time to local time"));
         goto log_failure;
     }
-    (void)strftime(time_str, sizeof(time_str), "%y %b %d %H:%M:%S", tm);
+    (void)strftime(time_str, sizeof(time_str), "%b %d %H:%M:%S", tm);
 
     /* write log to file */
     if (strcmp(logfile, "-") == 0)
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
msmtp-users mailing list
msmtp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msmtp-users

Reply via email to