aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-06 23:18:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-06 23:18:50 +0000
commit56548f9a13b9438ca2be3760f486f5441f679057 (patch)
treeec868352a222ba2ce9b42d53d0b51194db044605 /lib/url.c
parent36000e52876cddac768cd0447980b1aa88c77ee6 (diff)
getpass_r() is the new getpass name for thread-safe getpass!
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index d1613ebd6..f3212901a 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -264,6 +264,12 @@ CURLcode curl_close(CURL *curl)
return CURLE_OK;
}
+int my_getpass(void *clientp, char *prompt, char* buffer, int buflen )
+{
+ return getpass_r(prompt, buffer, buflen);
+}
+
+
CURLcode curl_open(CURL **curl, char *url)
{
/* We don't yet support specifying the URL at this point */