mirror of
https://github.com/c-cube/ezcurl.git
synced 2025-12-05 19:00:34 -05:00
fix warning
This commit is contained in:
parent
fe35e81fe0
commit
3d12ab0c1d
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ let _apply_config (self:t) (config:Config.t) : unit =
|
|||
Curl.set_verbose self verbose;
|
||||
Curl.set_maxredirs self max_redirects;
|
||||
Curl.set_followlocation self follow_location;
|
||||
opt_iter (fun user_agent -> Curl.set_useragent self user_agent) user_agent;
|
||||
opt_iter user_agent ~f:(fun user_agent -> Curl.set_useragent self user_agent);
|
||||
opt_iter authmethod ~f:(Curl.set_httpauth self);
|
||||
opt_iter username ~f:(Curl.set_username self);
|
||||
opt_iter password ~f:(Curl.set_password self);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue