mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-27 15:10:09 +01:00
connectivity: fix compile error no WITH_CONCHECK
Fixes:53f2642c73(cherry picked from commit07be0f511d)
This commit is contained in:
parent
4953610846
commit
ecd7227d45
1 changed files with 2 additions and 0 deletions
|
|
@ -232,9 +232,11 @@ nm_connectivity_check_async (NMConnectivity *self,
|
|||
g_return_if_fail (NM_IS_CONNECTIVITY (self));
|
||||
priv = NM_CONNECTIVITY_GET_PRIVATE (self);
|
||||
|
||||
#if WITH_CONCHECK
|
||||
if (callback == run_check_complete)
|
||||
nm_log_dbg (LOGD_CONCHECK, "Periodic connectivity check started with uri '%s'.", priv->uri);
|
||||
else
|
||||
#endif
|
||||
nm_log_dbg (LOGD_CONCHECK, "Connectivity check started with uri '%s'.", priv->uri);
|
||||
|
||||
simple = g_simple_async_result_new (G_OBJECT (self), callback, user_data,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue