packages/net/ssmtp/patches/901-strftime_space_padding.patch
olli 4dd3ba4602 ssmtp:
* Cleanup Makefile
 * Refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/packages@8555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 18:57:37 +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);