okra pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=4e9335547fb1f2a0d8f9178c083b18779503d81e
commit 4e9335547fb1f2a0d8f9178c083b18779503d81e Author: Stephen 'Okra' Houston <[email protected]> Date: Fri Feb 3 15:20:29 2017 -0600 Sysinfo - Netstatus gadget - Fix netstatus calculation. --- src/modules/sysinfo/netstatus/netstatus_proc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/sysinfo/netstatus/netstatus_proc.c b/src/modules/sysinfo/netstatus/netstatus_proc.c index b2f56f0..191d1ea 100644 --- a/src/modules/sysinfo/netstatus/netstatus_proc.c +++ b/src/modules/sysinfo/netstatus/netstatus_proc.c @@ -47,7 +47,6 @@ _netstatus_proc_getrstatus(Instance *inst) } else { - diffin /= 0.5; if (diffin > 1048576) snprintf(rin, sizeof(rin), "%s: %.2f MB/s", _("Receiving"), ((float)diffin / 1048576)); else if ((diffin > 1024) && (diffin < 1048576)) @@ -105,7 +104,6 @@ _netstatus_proc_gettstatus(Instance *inst) } else { - diffout /= 0.5; if (diffout > 1048576) snprintf(rout, sizeof(rout), "%s: %.2f MB/s", _("Sending"), ((float)diffout / 1048576)); else if ((diffout > 1024) && (diffout < 1048576)) --
