Re: Offset problem in the ftp module

On Tue, 2004-05-04 at 20:49, Marcus Bjurman wrote:

> I'm not sure if my patch solves the real problem or just deals with the
> symptoms of something else. If it is a real solution I'm willing to
> create a new patch that moves the detection of the 226 code and the
> reset of the offset variable to a more suitable place then in the
> ftp_response_to_vfs_result function. That will require a little more
> work though due to the current handling of response codes in the
> ftp-module.

I don't know ftp very well, but i took a look at this. Shouldn't we just
make sure to set offset to zero in ftp_connection_acquire()? Or will
that break something?

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an ungodly arachnophobic cowboy trapped in a world he never made. She's a 
manipulative insomniac bodyguard from Mars. They fight crime! 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]