Commit 03ab1466 authored by Thomas Haller's avatar Thomas Haller
Browse files

dhcp: use g_return_if_fail() instead of g_assert() in nm_dhcp_client_start_timeout()

parent c307f072
Pipeline #37273 passed with stages
in 36 minutes and 47 seconds
......@@ -476,8 +476,9 @@ nm_dhcp_client_start_timeout (NMDhcpClient *self)
{
NMDhcpClientPrivate *priv = NM_DHCP_CLIENT_GET_PRIVATE (self);
g_return_if_fail (priv->timeout_id == 0);
/* Set up a timeout on the transaction to kill it after the timeout */
g_assert (priv->timeout_id == 0);
if (priv->timeout == NM_DHCP_TIMEOUT_INFINITY)
return;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment