www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: libssh2 master 2f0c0ce SFTP: store request_id separately in packets

Re: libssh2 master 2f0c0ce SFTP: store request_id separately in packets

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 15 Dec 2010 09:01:56 +0100 (CET)

On Wed, 15 Dec 2010, Peter Stuge wrote:

> Remember to use data types that match the protocol on wire. request_id is
> uint32, so must not be int here, or anywhere else in our code.

Very true. I made it 'int' there because it is 'int' all over the code
already.

In this particular case it's pretty harmless, but we should nonetheless fix
it...

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-15

the libssh2 team