A proper patch would large since I have made numerous other changes to the 
slave. Here is the correction needed to fix the problem you are experiencing.
I haven't tested this with the kde 3.0 code, but the fix is simple enough that 
there shouldn't be any problems.

Lines 1951-1943 in kio_sftpProtocol::sftpWrite() in kio_sftp.cpp should read:
    s << (Q_UINT32)(1 /*type*/ + 4 /*id*/ +
                    4 /*str length*/ + handle.size() +
                    8 /*offset*/ + 4 /*str length*/ + data.size());

The "+ 4 /*str length*/" in the last line was missing and that was causing the 
problem.

Lucas

On Monday 30 September 2002 03:20 am, [EMAIL PROTECTED] wrote:
> hey thanks. Care to send me a patch? (and maybe Laurent is interested to,
> although perhaps cooker moves to 3.1 soon anyway).
>
> Danny


Reply via email to