getpass(3) is not supported on Android.

No replacement yet.
This commit is contained in:
Tobias Brunner committed 2011-10-11 16:30:20 +02:00
1 parent eae49aff88
commit 2421ac9e98
3 files changed
+8 -4

No files matched your search

+4
View File
@@ -101,7 +101,11 @@ static int send_stroke_msg (stroke_msg_t *msg)
{
*pass = ' ';
}
#ifdef HAVE_GETPASS
pass = getpass(buffer);
#else
pass = "";
#endif
if (pass)
{
ignore_result(write(sock, pass, strlen(pass)));