summaryrefslogtreecommitdiff
path: root/lib/strerror.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-02 13:01:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-02 13:01:44 +0000
commit19b284c21452b2c50924de3e0a04f5ed8040430d (patch)
tree4d7ac58fcea833c2d730affa4080f5e816318b92 /lib/strerror.h
parent6b3e3095ead3b496a9f5cad480c529f9d2b3c79d (diff)
downloadgnurl-19b284c21452b2c50924de3e0a04f5ed8040430d.tar.gz
gnurl-19b284c21452b2c50924de3e0a04f5ed8040430d.tar.bz2
gnurl-19b284c21452b2c50924de3e0a04f5ed8040430d.zip
Gisle Vanem provided code that displays an error message when the (libidn
based) IDN conversion fails. This is really due to a missing suitable function in the libidn API that I hope we can remove once libidn gets a function like this.
Diffstat (limited to 'lib/strerror.h')
-rw-r--r--lib/strerror.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/strerror.h b/lib/strerror.h
index 7d687230e..d003cb182 100644
--- a/lib/strerror.h
+++ b/lib/strerror.h
@@ -27,4 +27,8 @@
const char *Curl_strerror (struct connectdata *conn, int err);
+#ifdef USE_LIBIDN
+const char *Curl_idn_strerror (struct connectdata *conn, int err);
+#endif
+
#endif