aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-07-29 22:42:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-07-29 22:42:11 +0000
commitf79f5cbf82bc6c7e2961fcff97377adadff35b02 (patch)
tree88773df301579f53726070c53c4c3ee63c79dea3 /docs/libcurl
parent7313501e30a58bcda30df802ec86c010685ee715 (diff)
Setting PASSWDFUNCTION to NULL will set back the internal function as password
function.
Diffstat (limited to 'docs/libcurl')
-rw-r--r--docs/libcurl/curl_easy_setopt.36
1 files 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