summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/connman-call.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connman-call.c b/src/connman-call.c
index 0479646..8f87bbb 100644
--- a/src/connman-call.c
+++ b/src/connman-call.c
@@ -244,10 +244,10 @@ GVariant *connman_get_properties(struct connman_state *ns,
else
g_set_error(error, CONNMAN_ERROR, CONNMAN_ERROR_ILLEGAL_ARGUMENT,
"No %s", access_type);
+ } else {
+ DEBUG("properties: %s", g_variant_print(reply, TRUE));
}
- DEBUG("properties: %s", g_variant_print(reply, TRUE));
-
return reply;
}