summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 6402b43d..65398917 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -138,14 +138,14 @@ int _mutt_get_field (/* const */ char *field, char *buf, size_t buflen, int comp
return (ret);
}
-int mutt_get_password (char *msg, char *buf, size_t buflen)
+int mutt_get_string_unbuffered (char *msg, char *buf, size_t buflen, int flags)
{
int rc;
CLEARLINE (LINES-1);
addstr (msg);
set_option (OPTUNBUFFEREDINPUT);
- rc = mutt_enter_string (buf, buflen, LINES - 1, mutt_strlen (msg), M_PASS);
+ rc = mutt_enter_string (buf, buflen, LINES - 1, mutt_strlen (msg), flags);
unset_option (OPTUNBUFFEREDINPUT);
CLEARLINE (LINES-1);
return (rc);