summaryrefslogtreecommitdiff
path: root/openwrt/package/ssmtp
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-08-17 07:33:04 +0000
committerNicolas Thill <nico@openwrt.org>2005-08-17 07:33:04 +0000
commit535b0dfff830e30e632d0d0d6c3793851f4eb8e0 (patch)
treecf94b5b37d082e4e9f9b946337cce93d45e42af3 /openwrt/package/ssmtp
parentc65b043eb97acc544d30bf0df7eeda940f3155c6 (diff)
downloadmtk-20170518-535b0dfff830e30e632d0d0d6c3793851f4eb8e0.zip
mtk-20170518-535b0dfff830e30e632d0d0d6c3793851f4eb8e0.tar.gz
mtk-20170518-535b0dfff830e30e632d0d0d6c3793851f4eb8e0.tar.bz2
fix date formatting in mail messages (thanks Marcus for reporting)
SVN-Revision: 1687
Diffstat (limited to 'openwrt/package/ssmtp')
-rw-r--r--openwrt/package/ssmtp/patches/901-strftime_space_padding.patch12
1 files changed, 12 insertions, 0 deletions
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
index 0000000..dd0b9b1
--- /dev/null
+++ b/openwrt/package/ssmtp/patches/901-strftime_space_padding.patch
@@ -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);
+