about summary refs log tree commit diff stats
path: root/src/bindings
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-06-09 15:27:29 +0200
committerbptato <nincsnevem662@gmail.com>2023-06-09 15:27:29 +0200
commite8fa2217df7bacc58e88737f21752bbdf0f5562a (patch)
tree8fbec22f273f2cab5811b2f9b1dd5ea05496ef1a /src/bindings
parentb39e35e46773258cb103397b2372612308c22ae0 (diff)
downloadchawan-e8fa2217df7bacc58e88737f21752bbdf0f5562a.tar.gz
Show error messages, fix some fetch crashes
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/curl.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bindings/curl.nim b/src/bindings/curl.nim
index 169314fd..07395b65 100644
--- a/src/bindings/curl.nim
+++ b/src/bindings/curl.nim
@@ -298,6 +298,7 @@ proc curl_easy_cleanup*(handle: CURL)
 proc curl_easy_setopt*(handle: CURL, option: CURLoption): CURLcode {.varargs.}
 proc curl_easy_perform*(handle: CURL): CURLcode
 proc curl_easy_getinfo*(handle: CURL, info: CURLINFO): CURLcode {.varargs.}
+proc curl_easy_strerror*(errornum: CURLcode): cstring
 
 proc curl_mime_init*(handle: CURL): curl_mime
 proc curl_mime_free*(mime: curl_mime)