1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

Fixed outgoing flow control + writes behaviours

This commit is contained in:
Aris Adamantiadis
2010-09-26 22:33:58 +02:00
parent a92545517a
commit 75a0281a6b
8 changed files with 37 additions and 39 deletions

View File

@@ -216,9 +216,6 @@ int ssh_send_banner(ssh_session session, int server) {
if (ssh_socket_write(session->socket, buffer, strlen(buffer)) == SSH_ERROR) {
goto end;
}
if (ssh_socket_nonblocking_flush(session->socket) == SSH_ERROR){
goto end;
}
#ifdef WITH_PCAP
if(session->pcap_ctx)
ssh_pcap_context_write(session->pcap_ctx,SSH_PCAP_DIR_OUT,buffer,strlen(buffer),strlen(buffer));