next_timeout += (random_u32() & 0x1fffff);
+ client->timeout_resend = sd_event_source_unref(client->timeout_resend);
+
r = sd_event_add_monotonic(client->event,
&client->timeout_resend,
next_timeout,
if (r < 0)
goto error;
+ client->timeout_resend = sd_event_source_unref(client->timeout_resend);
+
r = sd_event_add_monotonic(client->event,
&client->timeout_resend,
usec, 0,