From: fredrik Date: Wed, 21 Feb 2007 21:39:24 +0000 (+0000) Subject: Make the transstatus command more easily read. X-Git-Tag: 0.3~86 X-Git-Url: http://dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=c26de38e9fc0ceb4f51af1085da37db42f4c4411 Make the transstatus command more easily read. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@848 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/daemon/ui.c b/daemon/ui.c index e611e06..b089117 100644 --- 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); - 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); } diff --git a/lib/uicmds b/lib/uicmds index 85662b1..acf753e 100644 --- a/lib/uicmds +++ b/lib/uicmds @@ -108,7 +108,7 @@ 502 512 :transstatus -200 s s +200 d s d s 502 :register 200