kio_sftp rewrite
Andreas Schneider
mail at cynapses.org
Mon Aug 10 12:29:26 BST 2009
On Monday 10 August 2009 11:43:11 Rafael Fernández López wrote:
> *Should* not crash ??? That's funny...
>
> void sftp_free(SFTP_SESSION *sftp){
> struct request_queue *ptr;
> channel_send_eof(sftp->channel); // *MEEEEEEEEEEEEEEK*
> channel_free(sftp->channel);
> ptr=sftp->queue;
> while(ptr){
> struct request_queue *old;
> sftp_message_free(ptr->message);
> old=ptr->next;
> free(ptr);
> ptr=old;
> }
> memset(sftp,0,sizeof(*sftp));
> free(sftp);
> }
Then you don't use libssh 0.3.2, which is required by kio_sftp. I have to
think how to do a version check of the library.
-- andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090810/cae704c7/attachment.sig>
More information about the kde-core-devel
mailing list