summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-01-16 14:15:24 +0100
committerThomas Haller <thaller@redhat.com>2015-01-16 14:16:10 +0100
commit07be0f511d6d559431ea66bdf74b00e4c276904b (patch)
tree622426cff567574e2a0c0fee92fc3b6efcdf5bef
parent05212419e158300e5724e93b7e01255fde0f4478 (diff)
downloadNetworkManager-07be0f511d6d559431ea66bdf74b00e4c276904b.tar.gz
connectivity: fix compile error no WITH_CONCHECK
Fixes: 53f2642c736ebb8466cbfd29c2ede2c3828a4728
-rw-r--r--src/nm-connectivity.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nm-connectivity.c b/src/nm-connectivity.c
index 1a374ebe41..f35da5e9d9 100644
--- a/src/nm-connectivity.c
+++ b/src/nm-connectivity.c
@@ -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,