aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorKunal Mohan <kunalmohan99@gmail.com>2021-04-30 20:40:32 +0530
committerKunal Mohan <kunalmohan99@gmail.com>2021-05-04 20:48:17 +0530
commitc6f93ba0d231c12d528e33315a4fdb5d46a1355f (patch)
treeac97b38a24b024068d2664bc5ca55319ddd57ab4 /src/client
parentPlace socket file in runtime directory or cache directory and use names crate... (diff)
downloadsl0ppij-c6f93ba0d231c12d528e33315a4fdb5d46a1355f.tar.gz
sl0ppij-c6f93ba0d231c12d528e33315a4fdb5d46a1355f.tar.xz
sl0ppij-c6f93ba0d231c12d528e33315a4fdb5d46a1355f.zip
use better names for senders, receivers and threads
Diffstat (limited to 'src/client')
-rw-r--r--src/client/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index bbde8c35..2bf814c2 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -105,7 +105,7 @@ pub fn start_client(mut os_input: Box<dyn ClientOsApi>, opts: CliArgs) {
let os_input = os_input.clone();
move || {
loop {
- let (instruction, mut err_ctx) = os_input.client_recv();
+ let (instruction, mut err_ctx) = os_input.recv_from_server();
err_ctx.add_call(ContextType::Client(ClientContext::from(&instruction)));
if let ClientInstruction::Exit = instruction {
break;