diff options
-rw-r--r-- | sample.c | 2 | ||||
-rw-r--r-- | samplesshd.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -133,7 +133,7 @@ static void select_loop(SSH_SESSION *session,CHANNEL *channel){ fd_set fds; struct timeval timeout; char buffer[10]; - BUFFER *readbuf=buffer_new(); + ssh_buffer readbuf=buffer_new(); CHANNEL *channels[2]; int lus; int eof=0; diff --git a/samplesshd.c b/samplesshd.c index 3bade152..10a29fc4 100644 --- a/samplesshd.c +++ b/samplesshd.c @@ -45,7 +45,7 @@ int main(int argc, char **argv){ SSH_BIND *ssh_bind; SSH_MESSAGE *message; CHANNEL *chan=0; - BUFFER *buf; + ssh_buffer buf; int auth=0; int sftp=0; int i; |