From c041bcc6d9b86b06c9323b0824db2d3346023e4c Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Fri, 24 Jul 2009 22:03:36 +0200 Subject: [PATCH] Forgot sample* in previous BUFFER change --- sample.c | 2 +- samplesshd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sample.c b/sample.c index 4313b6f3..b98e750c 100644 --- a/sample.c +++ b/sample.c @@ -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;