fixed bug Bug #683 (Prompt for password doesn't go to console for Windows)

This commit is contained in:
vva@eagle.mysql.r18.ru 2003-07-16 18:15:35 -04:00
parent ca8831e1ad
commit ac08d278b9

View file

@ -71,7 +71,7 @@ char *get_tty_password(char *opt_message)
char *pos=to,*end=to+sizeof(to)-1;
int i=0;
DBUG_ENTER("get_tty_password");
fprintf(stderr,opt_message ? opt_message : "Enter password: ");
_cputs(opt_message ? opt_message : "Enter password: ");
for (;;)
{
char tmp;