fix: do not reset client if passed as argument

close #7
This commit is contained in:
Simon Cruanes 2023-01-25 12:40:35 -05:00
parent db9b18fb44
commit cfcd23d16a

View file

@ -302,7 +302,6 @@ module Make(IO : IO)
let do_cleanup, self = match client with let do_cleanup, self = match client with
| None -> true, make() | None -> true, make()
| Some c -> | Some c ->
Curl.reset c;
false, c false, c
in in
_apply_config self config; _apply_config self config;