From: Gunter Knauf Date: Fri, 20 Jul 2007 16:01:05 +0000 (+0000) Subject: added lf to Win32 getpass_r() so that next output appears in new line. X-Git-Tag: curl-7_17_0-preldapfix~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=594fc0411e235ed4aa203e9cd838eefbd971ea22;p=curl added lf to Win32 getpass_r() so that next output appears in new line. --- diff --git a/src/getpass.c b/src/getpass.c index 26d7433ea..d15e28903 100644 --- a/src/getpass.c +++ b/src/getpass.c @@ -115,6 +115,8 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen) previous one as well */ i = i - (i>=1?2:1); } + /* since echo is disabled, print a newline */ + fputs("\n", stderr); /* if user didn't hit ENTER, terminate buffer */ if (i==buflen) buffer[buflen-1]=0;