Commit Diff


commit - 168788149fcde098a1ccb33e174cca4440332f97
commit + 8a5b0aabf4f59e17ce656d380875b5aeb4ac5b81
blob - 6b3f71d033c44d0f05037b8cebd54c1c3e79580e
blob + 76805c8f3c61cbffdd4c121de88975378b4e3b5f
--- ftp.c
+++ ftp.c
@@ -76,6 +76,9 @@ read_line(const char *prompt)
 	size_t linesize = 0;
 	ssize_t linelen;
 
+	printf("%s", prompt);
+	fflush(stdout);
+
 	linelen = getline(&line, &linesize, stdin);
 	if (linelen == -1)
 		return NULL;