Index: getsmbpass.c =================================================================== RCS file: /data/vl/cvstree/samba/source/lib/getsmbpass.c,v retrieving revision 1.8.20.4 diff -u -r1.8.20.4 getsmbpass.c --- getsmbpass.c 1 Oct 2003 21:17:22 -0000 1.8.20.4 +++ getsmbpass.c 22 Oct 2003 15:19:29 -0000 @@ -158,13 +158,14 @@ tcsetattr (fileno (in), TCSANOW, &t); } + fprintf(out, "\n"); + fflush(out); + if (in != stdin) /* We opened the terminal; now close it. */ fclose(in); /* Catch problematic signals */ CatchSignal(SIGINT, SIGNAL_CAST SIG_DFL); - - printf("\n"); if (gotintr) { printf("Interupted by signal.\n");