projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5b2eb7
)
adjusted to the changed getpass_r()
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 10 Nov 2000 09:19:09 +0000
(09:19 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 10 Nov 2000 09:19:09 +0000
(09:19 +0000)
lib/url.c
patch
|
blob
|
history
diff --git
a/lib/url.c
b/lib/url.c
index
f321290
..
9e32eaf
100644
(file)
--- a/
lib/url.c
+++ b/
lib/url.c
@@
-266,7
+266,12
@@
CURLcode curl_close(CURL *curl)
int my_getpass(void *clientp, char *prompt, char* buffer, int buflen )
{
- return getpass_r(prompt, buffer, buflen);
+ char *retbuf;
+ retbuf = getpass_r(prompt, buffer, buflen);
+ if(NULL == retbuf)
+ return 1;
+ else
+ return 0; /* success */
}