[svn r805] device info/details returning in bytes, not in kbytes as before trunk
authormelunko
Fri Aug 10 15:20:19 2007 +0100 (2007-08-10)
branchtrunk
changeset 79913f38117f520
parent 798 19626dc62c16
child 800 2b1824e138b1
[svn r805] device info/details returning in bytes, not in kbytes as before
gmyth/src/gmyth_util.c
     1.1 --- a/gmyth/src/gmyth_util.c	Fri Aug 10 14:45:36 2007 +0100
     1.2 +++ b/gmyth/src/gmyth_util.c	Fri Aug 10 15:20:19 2007 +0100
     1.3 @@ -485,8 +485,8 @@
     1.4      length = gmyth_socket_sendreceive_stringlist (sock, slist);
     1.5      if (length >= 8) {
     1.6          *details = g_new0 (GMythBackendDetails, 1);
     1.7 -        (*details)->total_space = gmyth_string_list_get_uint64 (slist, 4);
     1.8 -        (*details)->used_space = gmyth_string_list_get_uint64 (slist, 6);
     1.9 +        (*details)->total_space = gmyth_string_list_get_uint64 (slist, 4) * 1024;
    1.10 +        (*details)->used_space = gmyth_string_list_get_uint64 (slist, 6) * 1024;
    1.11          res = TRUE;
    1.12      }
    1.13