summaryrefslogtreecommitdiff
path: root/package/rdate/patches/patch-rfc868time_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/rdate/patches/patch-rfc868time_c')
-rw-r--r--package/rdate/patches/patch-rfc868time_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/rdate/patches/patch-rfc868time_c b/package/rdate/patches/patch-rfc868time_c
new file mode 100644
index 000000000..b095278ba
--- /dev/null
+++ b/package/rdate/patches/patch-rfc868time_c
@@ -0,0 +1,11 @@
+--- rdate.orig/rfc868time.c 2007-08-11 01:52:47.000000000 +0200
++++ rdate/rfc868time.c 2013-12-30 23:07:29.000000000 +0100
+@@ -70,7 +70,7 @@ rfc868time_client (const char *hostname,
+ {
+ struct addrinfo hints, *res0, *res;
+ struct timeval old;
+- u_int32_t tim; /* RFC 868 states clearly this is an uint32 */
++ uint32_t tim; /* RFC 868 states clearly this is an uint32 */
+ int s;
+ int error;
+