From f79f5cbf82bc6c7e2961fcff97377adadff35b02 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 29 Jul 2002 22:42:11 +0000 Subject: Setting PASSWDFUNCTION to NULL will set back the internal function as password function. --- docs/libcurl/curl_easy_setopt.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index c953bf7bc..4a5d65a7a 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -533,9 +533,9 @@ due to some limitation in openssl. (Added in 7.9.8) Pass a pointer to a \fIcurl_passwd_callback\fP function that will be called instead of the internal one if libcurl requests a password. The function must match this prototype: \fBint my_getpass(void *client, char *prompt, char* -buffer, int buflen );\fP. If set to NULL, it equals to making the function -always fail. If the function returns a non-zero value, it will abort the -operation and an error (CURLE_BAD_PASSWORD_ENTERED) will be returned. +buffer, int buflen );\fP. If set to NULL, it sets back the function to the +internal default one. If the function returns a non-zero value, it will abort +the operation and an error (CURLE_BAD_PASSWORD_ENTERED) will be returned. \fIclient\fP is a generic pointer, see \fICURLOPT_PASSWDDATA\fP. \fIprompt\fP is a zero-terminated string that is text that prefixes the input request. \fIbuffer\fP is a pointer to data where the entered password should be stored -- cgit v1.2.3