diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-12-07 04:30:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 04:30:40 +0100 |
commit | c0ccbcdaeee04407b2198557cdc55ee4adf1ee7e (patch) | |
tree | 0545b939616b1fa6f910441d18c400ea231b3563 /cli/ops/websocket.rs | |
parent | 7135d34ccab7629da57c75ee239fcb0dda733eae (diff) |
refactor(cli): Reorganize worker code, use stronger memory ordering (#8638)
Diffstat (limited to 'cli/ops/websocket.rs')
-rw-r--r-- | cli/ops/websocket.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/ops/websocket.rs b/cli/ops/websocket.rs index 40f5fd53b..c04c3b476 100644 --- a/cli/ops/websocket.rs +++ b/cli/ops/websocket.rs @@ -93,8 +93,8 @@ pub async fn op_ws_create( } let ca_file = { - let cli_state = super::global_state2(&state); - cli_state.flags.ca_file.clone() + let program_state = super::global_state2(&state); + program_state.flags.ca_file.clone() }; let uri: Uri = args.url.parse()?; let mut request = Request::builder().method(Method::GET).uri(&uri); |