diff --git a/ChangeLog b/ChangeLog index b6c16e0e0..70fdad614 100644 --- a/ChangeLog +++ b/ChangeLog @@ -127,6 +127,9 @@ - markus@cvs.openbsd.org 2002/06/06 17:12:44 [sftp-server.c] discard remaining bytes of current request; ok provos@ + - markus@cvs.openbsd.org 2002/06/06 17:30:11 + [sftp-server.c] + use get_int() macro (hide iqueue) 20020604 - (stevesk) [channels.c] bug #164 patch from YOSHIFUJI Hideaki (changed @@ -811,4 +814,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2178 2002/06/06 21:57:54 mouring Exp $ +$Id: ChangeLog,v 1.2179 2002/06/06 21:58:35 mouring Exp $ diff --git a/sftp-server.c b/sftp-server.c index beb251a8a..9db28e7d3 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: sftp-server.c,v 1.34 2002/06/06 17:12:44 markus Exp $"); +RCSID("$OpenBSD: sftp-server.c,v 1.35 2002/06/06 17:30:11 markus Exp $"); #include "buffer.h" #include "bufaux.h" @@ -368,7 +368,7 @@ process_init(void) { Buffer msg; - version = buffer_get_int(&iqueue); + version = get_int(); TRACE("client version %d", version); buffer_init(&msg); buffer_put_char(&msg, SSH2_FXP_VERSION);