From 5e50d2a9e7c9d5b0c4c5ced6666aafe29e3bca8a Mon Sep 17 00:00:00 2001 From: Ray Hayes Date: Tue, 18 Oct 2016 18:19:07 -0700 Subject: [PATCH] Logic cleanup. --- sftp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sftp.c b/sftp.c index e281bd1..8c6678a 100644 --- a/sftp.c +++ b/sftp.c @@ -2125,8 +2125,7 @@ interactive_loop(struct sftp_conn *conn, char *file1, char *file2) wchar_t wcmd[2048]; printf("sftp> "); if (fgetws(wcmd, sizeof(cmd)/sizeof(wchar_t), infile) == NULL) { - if (interactive) - printf("\n"); + printf("\n"); break; } else {