mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-22 13:34:43 +02:00
Logic cleanup.
This commit is contained in:
parent
38f8da0160
commit
5e50d2a9e7
3
sftp.c
3
sftp.c
@ -2125,8 +2125,7 @@ interactive_loop(struct sftp_conn *conn, char *file1, char *file2)
|
|||||||
wchar_t wcmd[2048];
|
wchar_t wcmd[2048];
|
||||||
printf("sftp> ");
|
printf("sftp> ");
|
||||||
if (fgetws(wcmd, sizeof(cmd)/sizeof(wchar_t), infile) == NULL) {
|
if (fgetws(wcmd, sizeof(cmd)/sizeof(wchar_t), infile) == NULL) {
|
||||||
if (interactive)
|
printf("\n");
|
||||||
printf("\n");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user