diff options
author | Daniel Stenberg <daniel@haxx.se> | 2000-11-06 23:18:50 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2000-11-06 23:18:50 +0000 |
commit | 56548f9a13b9438ca2be3760f486f5441f679057 (patch) | |
tree | ec868352a222ba2ce9b42d53d0b51194db044605 /lib/url.c | |
parent | 36000e52876cddac768cd0447980b1aa88c77ee6 (diff) |
getpass_r() is the new getpass name for thread-safe getpass!
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |