aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
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 */