Hi,
While trying to upgrade to 1.19.5, we found a bug in wget (src/host.c)
where the (non-existing) return value of a void function is assigned to
a variable.
A patch is appended.
Josef
Index: wget-1.19.5/src/host.c
===================================================================
--- wget-1.19.5.orig/src/host.c
+++ wget-1.19.5/src/host.c
@@ -732,7 +732,10 @@ wait_ares (ares_channel channel)
ares_process (channel, &read_fds, &write_fds);
}
if (timer)
- timer = ptimer_destroy (timer);
+ {
+ ptimer_destroy (timer);
+ timer = NULL;
+ }
}
static void