Skip to content

Commit

Permalink
Fix typo (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackDunnNZ authored Feb 15, 2022
1 parent 2a21b15 commit 3654257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Curl/Easy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ end
function get_protocol(easy::Easy)
proto_ref = Ref{Clong}()
r = @check curl_easy_getinfo(easy.handle, CURLINFO_PROTOCOL, proto_ref)
r == CURLE_UNKNOWN_OPTION && error("The `libcurl` version you are using is too old and does not include the `CURLINFO_PROTOCOL` feature. Please upgrade or us a Julia build that uses its own `libcurl` library.")
r == CURLE_UNKNOWN_OPTION && error("The `libcurl` version you are using is too old and does not include the `CURLINFO_PROTOCOL` feature. Please upgrade or use a Julia build that uses its own `libcurl` library.")
proto = proto_ref[]
proto == CURLPROTO_DICT && return "dict"
proto == CURLPROTO_FILE && return "file"
Expand Down

0 comments on commit 3654257

Please sign in to comment.