Ignore:
Timestamp:
Jul 28, 2010, 12:31:11 AM (12 years ago)
Author:
charles
Message:

(trunk) #3045 "size units" -- sync the default units in all the apps s.t. they're consistent with each other

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/daemon/daemon.c

    r10969 r11060  
    4848#define MEM_T_STR "TiB"
    4949
    50 #define DISK_K 1000
    51 #define DISK_B_STR "B"
    52 #define DISK_K_STR "kB"
    53 #define DISK_M_STR "MB"
    54 #define DISK_G_STR "GB"
    55 #define DISK_T_STR "TB"
    56 
    57 #define SPEED_K 1000
    58 #define SPEED_B_STR "B/s"
    59 #define SPEED_K_STR "kB/s"
    60 #define SPEED_M_STR "MB/s"
    61 #define SPEED_G_STR "GB/s"
    62 #define SPEED_T_STR "TB/s"
     50#define DISK_K 1024
     51#define DISK_B_STR   "B"
     52#define DISK_K_STR "KiB"
     53#define DISK_M_STR "MiB"
     54#define DISK_G_STR "GiB"
     55#define DISK_T_STR "TiB"
     56
     57#define SPEED_K 1024
     58#define SPEED_B_STR   "B/s"
     59#define SPEED_K_STR "KiB/s"
     60#define SPEED_M_STR "MiB/s"
     61#define SPEED_G_STR "GiB/s"
     62#define SPEED_T_STR "TiB/s"
    6363
    6464static tr_bool paused = FALSE;
Note: See TracChangeset for help on using the changeset viewer.