diff options
author | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-17 07:33:04 +0000 |
---|---|---|
committer | nico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-08-17 07:33:04 +0000 |
commit | 88085fb01c5a6699b1784912c9c004fa9968ad53 (patch) | |
tree | 4d8f77e89ccc28eaa5df994dc34081f93ecd41e4 /package | |
parent | 4f2f846270146743ddd7f28b7aad511838fc0d6b (diff) |
fix date formatting in mail messages (thanks Marcus for reporting)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1687 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/ssmtp/patches/901-strftime_space_padding.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/ssmtp/patches/901-strftime_space_padding.patch b/package/ssmtp/patches/901-strftime_space_padding.patch new file mode 100644 index 000000000..dd0b9b116 --- /dev/null +++ b/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); + |