data urls and FileCopyJob

Waldo Bastian bastian at kde.org
Mon Sep 15 11:20:44 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 15 September 2003 12:09, David Faure wrote:
> Ah, right. That's easy then
>
> Index: file.cc
> ===================================================================
> RCS file: /home/kde/kdelibs/kioslave/file/file.cc,v
> retrieving revision 1.142
> diff -u -p -r1.142 file.cc
> --- file.cc     14 Sep 2003 21:29:31 -0000      1.142
> +++ file.cc     15 Sep 2003 10:08:34 -0000
> @@ -320,7 +320,7 @@ void FileProtocol::put( const KURL& url,
>          dataReq(); // Request for data
>          result = readData( buffer );
>
> -        if (result > 0)
> +        if (result >= 0)
>          {
>              if (dest.isEmpty())
>              {
>
> (untested, but obvious). OK for commit?

I think so, yes.

Cheers,
Waldo
- -- 
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/ZZJ8N4pvrENfboIRAqbgAJ9kGhLj3bLnlqWN0mtw+IHxL1GgNQCgoleV
dH0+nXoHpyxOwjKeru3+25I=
=oG/w
-----END PGP SIGNATURE-----




More information about the kfm-devel mailing list