fix date formatting in mail messages (thanks Marcus for reporting)
authorNicolas Thill <nico@openwrt.org>
Wed, 17 Aug 2005 07:33:04 +0000 (07:33 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 17 Aug 2005 07:33:04 +0000 (07:33 +0000)
SVN-Revision: 1687

openwrt/package/ssmtp/patches/901-strftime_space_padding.patch [new file with mode: 0644]

diff --git a/openwrt/package/ssmtp/patches/901-strftime_space_padding.patch b/openwrt/package/ssmtp/patches/901-strftime_space_padding.patch
new file mode 100644 (file)
index 0000000..dd0b9b1
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ruN ssmtp-2.60-old/arpadate.c ssmtp-2.60-new/arpadate.c
+--- ssmtp-2.60-old/arpadate.c  2002-12-08 18:30:11.000000000 +0100
++++ ssmtp-2.60-new/arpadate.c  2004-05-23 18:54:32.000000000 +0200
+@@ -79,7 +79,7 @@
+       time_t now;
+       /* RFC822 format string borrowed from GNU shellutils date.c */
+-      const char *format = "%a, %_d %b %Y %H:%M:%S %z";
++      const char *format = "%a, %d %b %Y %H:%M:%S %z";
+       now = time(NULL);