Fixed do_read() 'GNOME_VFS_ERROR_EOF' reporting.
authorshort <>
Tue, 2 Sep 2003 22:02:09 +0000 (22:02 +0000)
committershort <>
Tue, 2 Sep 2003 22:02:09 +0000 (22:02 +0000)
modules/http-method.c

index d8e0b73..5d4ee1e 100644 (file)
@@ -1895,7 +1895,7 @@ do_read (GnomeVFSMethod *method,
 
        if (!num_bytes) {
                *bytes_read = 0;
-               return GNOME_VFS_OK;
+               return GNOME_VFS_ERROR_EOF;
        }
 
        if (1