From 83554305961c13315afb1612f13b50854b18c291 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Tue, 3 Sep 2002 17:38:30 +0000 Subject: [PATCH] * vfs.c (vfs_get_password): Use INPUT_PASSWORD to request a password reliably. --- vfs/ChangeLog | 5 +++++ vfs/vfs.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 9574b8f1a..a698d5ce1 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,8 @@ +2002-09-03 Pavel Roskin + + * vfs.c (vfs_get_password): Use INPUT_PASSWORD to request a + password reliably. + 2002-09-02 Andrew V. Samoilov * smbfs.c (smbfs_close): Return -1 if cli->outbuf is NULL and diff --git a/vfs/vfs.c b/vfs/vfs.c index fe01c1602..6f5196350 100644 --- a/vfs/vfs.c +++ b/vfs/vfs.c @@ -51,7 +51,7 @@ #include "../src/panel.h" #include "../src/key.h" /* Required for the async alarm handler */ #include "../src/layout.h" /* For get_panel_widget and get_other_index */ -#include "../src/dialog.h" +#include "../src/wtools.h" /* input_dialog() */ #endif #include "xdirentry.h" @@ -1890,7 +1890,7 @@ vfs_print_stats (const char *fs_name, const char *action, const char *file_name, char * vfs_get_password (char *msg) { - return (char *) input_dialog (msg, _("Password:"), ""); + return (char *) input_dialog (msg, _("Password:"), INPUT_PASSWORD); } #endif