Skip to content

Commit

Permalink
Remove obsolete ~buffer_size from Lwt_io.open_connection call.
Browse files Browse the repository at this point in the history
  • Loading branch information
paurkedal committed Oct 18, 2015
1 parent a270e6f commit 1013cae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smtp_lwt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module IO = struct
let open_connection ~host ~service =
Lwt_unix.getaddrinfo host service [] >>= function
| [] -> fail (Failure ("IP resolution failed for " ^ host))
| h::t -> Lwt_io.open_connection ~buffer_size:4096 h.Lwt_unix.ai_addr
| h::t -> Lwt_io.open_connection h.Lwt_unix.ai_addr

let shutdown_connection = Lwt_io.close

Expand Down

0 comments on commit 1013cae

Please sign in to comment.