mirror of
https://github.com/curl/curl.git
synced 2026-06-19 19:55:51 +03:00
use system-own getpassword() function on NetWare.
This commit is contained in:
parent
71a0d50f48
commit
c60b52ab43
1 changed files with 10 additions and 0 deletions
|
|
@ -124,6 +124,16 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
|||
#define DONE
|
||||
#endif /* WIN32 */
|
||||
|
||||
#ifdef NETWARE
|
||||
/* NetWare implementation */
|
||||
#include <screen.h>
|
||||
char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
||||
{
|
||||
return(getpassword(prompt, buffer, buflen));
|
||||
}
|
||||
#define DONE
|
||||
#endif /* WIN32 */
|
||||
|
||||
#ifndef DONE /* not previously provided */
|
||||
|
||||
#ifdef HAVE_TERMIOS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue