Skip to content

Commit

Permalink
Merge pull request #90 from Khady/louis/write-iter-bug
Browse files Browse the repository at this point in the history
Fix out of order arguments on network with lwt
  • Loading branch information
c-cube authored Jul 27, 2023
2 parents 613b28a + 76ab749 commit 73da663
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client.ml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module Common(IO: S.IO) = struct
let num_args = List.length args in
IO.output_string out_ch (Printf.sprintf "*%d" num_args) >>= fun () ->
IO.output_string out_ch "\r\n" >>= fun () ->
IO.iter
IO.iter_serial
(fun arg ->
let length = String.length arg in
IO.output_string out_ch (Printf.sprintf "$%d" length) >>= fun () ->
Expand Down Expand Up @@ -803,7 +803,7 @@ module MakeClient(Mode: Mode) = struct
send_request connection command >>= return_ok_status

let send_custom_request = send_request

(** SENTINEL commands *)
let sentinel_masters connection =
let command = [ "SENTINEL"; "masters"] in
Expand Down

0 comments on commit 73da663

Please sign in to comment.