diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-10-02 13:01:44 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-10-02 13:01:44 +0000 |
commit | 19b284c21452b2c50924de3e0a04f5ed8040430d (patch) | |
tree | 4d7ac58fcea833c2d730affa4080f5e816318b92 /lib/strerror.h | |
parent | 6b3e3095ead3b496a9f5cad480c529f9d2b3c79d (diff) | |
download | curl-19b284c21452b2c50924de3e0a04f5ed8040430d.tar.gz |
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.h | 4 |
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 |