Explorar o código

ssh: rm scp/sftp spam

Sergey Alirzaev %!s(int64=5) %!d(string=hai) anos
pai
achega
680f1a26fc
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      modules/SSH_Server/server.c

+ 0 - 4
modules/SSH_Server/server.c

@@ -178,10 +178,6 @@ static void *server_worker(void* vArgs)
         } else {
             cli_send(threadCtx->ssh, pcWarningMessage, pcWarningMessageLen);
         }
-    } else if (ret == WS_SCP_COMPLETE) {
-        printf("scp file transfer completed\n");
-    } else if (ret == WS_SFTP_COMPLETE) {
-        printf("Use example/echoserver/echoserver for SFTP\n");
     }
     wolfSSH_stream_exit(threadCtx->ssh, 0);
     WCLOSESOCKET(threadCtx->fd);