diff -r bf01a0d21980 -r 0f77fcb97269 gmyth-stream/libgnomevfs2/modules/gmythstream-method.c --- a/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c Fri Apr 13 14:54:52 2007 +0100 +++ b/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c Tue Apr 24 19:45:27 2007 +0100 @@ -244,7 +244,7 @@ gnome_vfs_uri_get_host_name (uri), gnome_vfs_uri_get_host_port (uri))) { - return GNOME_VFS_ERROR_INVALID_FILENAME; + return GNOME_VFS_ERROR_HOST_NOT_FOUND; } args = _uri_parse_args (uri); @@ -265,14 +265,14 @@ if (ret == -1) { gmyth_stream_client_disconnect (handle->stream); - return GNOME_VFS_ERROR_INVALID_FILENAME; + return GNOME_VFS_ERROR_HOST_NOT_FOUND; } handle->fd = gmyth_stream_client_play_stream (handle->stream); if (handle->fd == -1) { gmyth_stream_client_disconnect (handle->stream); - return GNOME_VFS_ERROR_INVALID_FILENAME; + return GNOME_VFS_ERROR_HOST_NOT_FOUND; } *method_handle = (GnomeVFSMethodHandle *) handle;