diff options
| author | Kunal Mohan <kunalmohan99@gmail.com> | 2021-03-22 09:05:08 +0530 |
|---|---|---|
| committer | Kunal Mohan <kunalmohan99@gmail.com> | 2021-05-04 20:47:52 +0530 |
| commit | 660434be06b14b44059db852c9c26e09b027f619 (patch) | |
| tree | 62110947245b4f7b1b6470b23e1460e5c6fe07c9 /src/server | |
| parent | Hide server-side Ipc channels creation behind OsApis and some documentation f... (diff) | |
| download | sl0ppij-660434be06b14b44059db852c9c26e09b027f619.tar.gz sl0ppij-660434be06b14b44059db852c9c26e09b027f619.tar.xz sl0ppij-660434be06b14b44059db852c9c26e09b027f619.zip | |
documentation and nit fix
Diffstat (limited to 'src/server')
| -rw-r--r-- | src/server/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/mod.rs b/src/server/mod.rs index 3c6918ea..b902ea27 100644 --- a/src/server/mod.rs +++ b/src/server/mod.rs @@ -147,7 +147,7 @@ pub fn start_server(os_input: Box<dyn ServerOsApi>, opts: CliArgs) -> thread::Jo // For now, We make sure that the first message is `NewClient` so there are no out of bound panics. let mut send_client_instructions: Vec<IpcSenderWithContext> = Vec::with_capacity(1); move || loop { - let (mut err_ctx, instruction): (ErrorContext, ServerInstruction) = + let (instruction, mut err_ctx): (ServerInstruction, ErrorContext) = recv_server_instructions.recv().unwrap(); err_ctx.add_call(ContextType::IPCServer(ServerContext::from(&instruction))); send_pty_instructions.update(err_ctx); |
