Skip to content

Commit 5e50d2a

Browse files
committed
Logic cleanup.
1 parent 38f8da0 commit 5e50d2a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sftp.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,8 +2125,7 @@ interactive_loop(struct sftp_conn *conn, char *file1, char *file2)
21252125
wchar_t wcmd[2048];
21262126
printf("sftp> ");
21272127
if (fgetws(wcmd, sizeof(cmd)/sizeof(wchar_t), infile) == NULL) {
2128-
if (interactive)
2129-
printf("\n");
2128+
printf("\n");
21302129
break;
21312130
}
21322131
else {

0 commit comments

Comments
 (0)