Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make the transstatus command more easily read.
[doldaconnect.git]
/
daemon
/
ui.c
diff --git
a/daemon/ui.c
b/daemon/ui.c
index
e611e06
..
b089117
100644
(file)
--- a/
daemon/ui.c
+++ b/
daemon/ui.c
@@
-1238,7
+1238,7
@@
static void cmd_transstatus(struct socket *sk, struct uidata *data, int argc, wc
havepriv(PERM_TRANS);
buf1 = swprintf2(L"%lli", bytesdownload);
buf2 = swprintf2(L"%lli", bytesupload);
havepriv(PERM_TRANS);
buf1 = swprintf2(L"%lli", bytesdownload);
buf2 = swprintf2(L"%lli", bytesupload);
- sq(sk, 0, L"200", L"
%%ls", buf1
, L"%%ls", buf2, NULL);
+ sq(sk, 0, L"200", L"
down", L"%%ls", buf1, L"up"
, L"%%ls", buf2, NULL);
free(buf1);
free(buf2);
}
free(buf1);
free(buf2);
}