901-strftime_space_padding.patch 420 B

123456789101112
  1. diff -ruN ssmtp-2.60-old/arpadate.c ssmtp-2.60-new/arpadate.c
  2. --- ssmtp-2.60-old/arpadate.c 2002-12-08 18:30:11.000000000 +0100
  3. +++ ssmtp-2.60-new/arpadate.c 2004-05-23 18:54:32.000000000 +0200
  4. @@ -79,7 +79,7 @@
  5. time_t now;
  6. /* RFC822 format string borrowed from GNU shellutils date.c */
  7. - const char *format = "%a, %_d %b %Y %H:%M:%S %z";
  8. + const char *format = "%a, %d %b %Y %H:%M:%S %z";
  9. now = time(NULL);