From 59a6892984ebf91e369aeac86bdfd2fc03d20a88 Mon Sep 17 00:00:00 2001 From: Stephen 'Okra' Houston Date: Mon, 24 Jul 2017 13:53:53 -0500 Subject: [PATCH] Netstatus - Fix dupclicate Receiving labels. --- src/modules/sysinfo/netstatus/netstatus.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/sysinfo/netstatus/netstatus.c b/src/modules/sysinfo/netstatus/netstatus.c index 14ee3a918..49e29bd0e 100644 --- a/src/modules/sysinfo/netstatus/netstatus.c +++ b/src/modules/sysinfo/netstatus/netstatus.c @@ -165,16 +165,16 @@ _netstatus_cb_usage_check_main(void *data, Ecore_Thread *th) eina_stringshare_replace(&thc->instring, rin); if (!thc->outcurrent) { - snprintf(rout, sizeof(rout), "%s: 0 B/s", _("Receiving")); + snprintf(rout, sizeof(rout), "%s: 0 B/s", _("Sending")); } else { if (thc->outcurrent > 1048576) - snprintf(rout, sizeof(rout), "%s: %.2f MB/s", _("Receiving"), ((float)thc->outcurrent / 1048576)); + snprintf(rout, sizeof(rout), "%s: %.2f MB/s", _("Sending"), ((float)thc->outcurrent / 1048576)); else if ((thc->outcurrent > 1024) && (thc->outcurrent < 1048576)) - snprintf(rout, sizeof(rout), "%s: %lu KB/s", _("Receiving"), (thc->outcurrent / 1024)); + snprintf(rout, sizeof(rout), "%s: %lu KB/s", _("Sending"), (thc->outcurrent / 1024)); else - snprintf(rout, sizeof(rout), "%s: %lu B/s", _("Receiving"), thc->outcurrent); + snprintf(rout, sizeof(rout), "%s: %lu B/s", _("Sending"), thc->outcurrent); } eina_stringshare_replace(&thc->outstring, rout); ecore_thread_feedback(th, NULL);