# HG changeset patch # User renatofilho # Date 1176817338 -3600 # Node ID 7dfd742a02ebf64b5328a0d096e20ca7958f31c9 # Parent 9da7a61f15617a25394f060f14002b1fc2875765 [svn r561] fixed method return diff -r 9da7a61f1561 -r 7dfd742a02eb gmyth-stream/libgnomevfs2/modules/gmythstream-method.c --- a/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c Tue Apr 17 14:33:10 2007 +0100 +++ b/gmyth-stream/libgnomevfs2/modules/gmythstream-method.c Tue Apr 17 14:42:18 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;