1.1 --- a/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c Fri Apr 13 14:54:52 2007 +0100
1.2 +++ b/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c Tue Apr 17 15:13:48 2007 +0100
1.3 @@ -244,7 +244,7 @@
1.4 gnome_vfs_uri_get_host_name (uri),
1.5 gnome_vfs_uri_get_host_port (uri))) {
1.6
1.7 - return GNOME_VFS_ERROR_INVALID_FILENAME;
1.8 + return GNOME_VFS_ERROR_HOST_NOT_FOUND;
1.9 }
1.10
1.11 args = _uri_parse_args (uri);
1.12 @@ -265,14 +265,14 @@
1.13
1.14 if (ret == -1) {
1.15 gmyth_stream_client_disconnect (handle->stream);
1.16 - return GNOME_VFS_ERROR_INVALID_FILENAME;
1.17 + return GNOME_VFS_ERROR_HOST_NOT_FOUND;
1.18 }
1.19
1.20 handle->fd = gmyth_stream_client_play_stream (handle->stream);
1.21
1.22 if (handle->fd == -1) {
1.23 gmyth_stream_client_disconnect (handle->stream);
1.24 - return GNOME_VFS_ERROR_INVALID_FILENAME;
1.25 + return GNOME_VFS_ERROR_HOST_NOT_FOUND;
1.26 }
1.27
1.28 *method_handle = (GnomeVFSMethodHandle *) handle;