summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-07-12 22:25:20 -0300
committerMarcel Holtmann <marcel@holtmann.org>2010-07-12 22:25:20 -0300
commit4124202a1450ef79d6112d75abdf0438f6ec820b (patch)
tree75df0eff3710f930235a7d150ab6d9408869ef2d
parent83571bf295a3c1466300f852c3be4277da8d7efa (diff)
downloadconnman-4124202a1450ef79d6112d75abdf0438f6ec820b.tar.gz
connman-4124202a1450ef79d6112d75abdf0438f6ec820b.tar.bz2
connman-4124202a1450ef79d6112d75abdf0438f6ec820b.zip
Add empty dictionary for roaming counters for now
-rw-r--r--src/counter.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/counter.c b/src/counter.c
index a457a226..27898c52 100644
--- a/src/counter.c
+++ b/src/counter.c
@@ -156,6 +156,7 @@ static void send_usage(struct connman_counter *counter,
dbus_message_iter_init_append(message, &array);
+ /* home counter */
connman_dbus_dict_open(&array, &dict);
rx_packets = __connman_service_stats_get_rx_packets(service);
@@ -189,6 +190,11 @@ static void send_usage(struct connman_counter *counter,
connman_dbus_dict_close(&array, &dict);
+ /* roaming counter */
+ connman_dbus_dict_open(&array, &dict);
+
+ connman_dbus_dict_close(&array, &dict);
+
g_dbus_send_message(connection, message);
}