1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 21:19:44 +02:00
openwrt-xburst/package/ssmtp/patches/901-strftime_space_padding.patch
nico 88085fb01c 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
2005-08-17 07:33:04 +00:00

13 lines
420 B
Diff

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);