Commits

Paul Barbu - Gheorghe committed 506aefd

fixed bug where after showing the speed in mb/s showing it in kb/s was impossible

  • Participants
  • Parent commits eaf69b0

Comments (0)

Files changed (1)

 
         net_in = (float)(net_f_usage.in - net_i_usage.in)/1024; //kilobytes
         net_out = (float)(net_f_usage.out - net_i_usage.out)/1024; //kilobytes
+        unit_in = "kb";
+        unit_out = "kb";
 
         if(net_in > 1024){
             net_in /= 1024; // megabytes