packages/mail/ssmtp/patches/901-strftime_space_padding.patch
nico a9f231baf2 [packages] move packages to a new 'mail' section, cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/packages@11014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-03 02:42:43 +00:00

14 lines
452 B
Diff

Index: ssmtp-2.61/arpadate.c
===================================================================
--- ssmtp-2.61.orig/arpadate.c 2007-08-30 20:56:56.000000000 +0200
+++ ssmtp-2.61/arpadate.c 2007-08-30 20:56:56.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);