From d4a67c5eafbd2ba90f146bb5c3942d9d6d130371 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 5 Jan 2010 07:32:56 -0800 Subject: [PATCH] Fix typo with RX versus TX stats --- src/counter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/counter.c b/src/counter.c index 5d286d4..ae165e4 100644 --- a/src/counter.c +++ b/src/counter.c @@ -195,7 +195,7 @@ void __connman_counter_notify(const char *interface, g_hash_table_replace(stats_table, stats->interface, stats); update: - if (stats->rx_bytes == rx_bytes && stats->rx_bytes == tx_bytes) + if (stats->rx_bytes == rx_bytes && stats->tx_bytes == tx_bytes) return; stats->rx_bytes = rx_bytes; -- 2.7.4