Subject: Re: libssh2 master 37624b6 sftp_attrsize: converted function to a macro

Re: libssh2 master 37624b6 sftp_attrsize: converted function to a macro

From: Peter Stuge <peter_at_stuge.se>
Date: Wed, 28 Apr 2010 08:53:22 +0200

Daniel Stenberg wrote:
>>> + /* surprise! this starts out with nothing sent */
>>> + sftp->open_packet_sent = 0;
>>
>> This looks redundant. I think there may be some more places where
>> there's code like this - it'd be nice to reduce rather than expand. :)
>
> Redundant how?

No, I was wrong. I mixed the struct member up with open_packet which
is set on the very next line. Sorry for the confusion!

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-04-28