getpass(3) is not supported on Android.

No replacement yet.
This commit is contained in:
Tobias Brunner
2011-10-11 16:30:20 +02:00
parent eae49aff88
commit 2421ac9e98
3 changed files with 8 additions and 4 deletions
+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)));