[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kio_sftp rewrite
From:       Andreas Schneider <mail () cynapses ! org>
Date:       2009-08-10 11:29:26
Message-ID: 200908101329.26831.mail () cynapses ! org
[Download RAW message or body]


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

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic