Enlightenment CVS committal
Author : devilhorns
Project : e_modules
Module : net
Dir : e_modules/net
Modified Files:
e_mod_main.c
Log Message:
Some comment cleanup
===================================================================
RCS file: /cvsroot/enlightenment/e_modules/net/e_mod_main.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- e_mod_main.c 21 Feb 2006 02:39:54 -0000 1.4
+++ e_mod_main.c 21 Feb 2006 02:41:30 -0000 1.5
@@ -497,18 +497,14 @@
snprintf(out_str, sizeof(out_str), "%d B", out);
break;
case NET_DISPLAY_KBYTES:
- //if ((in > 1024) && (in < 1048576))
- in = in / 1024;
- //if ((out > 1024) && (out < 1048576))
- out = out / 1024;
+ in = in / 1024;
+ out = out / 1024;
snprintf(in_str, sizeof(in_str), "%d KB", in);
snprintf(out_str, sizeof(out_str), "%d KB", out);
break;
case NET_DISPLAY_MBYTES:
- //if (in > 1048576)
- in = in / 1048576;
- //if (out > 1048576)
- out = out / 1048576;
+ in = in / 1048576;
+ out = out / 1048576;
snprintf(in_str, sizeof(in_str), "%d MB", in);
snprintf(out_str, sizeof(out_str), "%d MB", out);
break;
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs