[svn r202] gmyth_file_transfer_uri were using gmyth_uri directly to create the backend_info. Now it calls gmyth_backend_info_with_uri(str)
1.1 --- a/gmyth/src/gmyth_file_transfer.c Wed Dec 06 01:32:43 2006 +0000
1.2 +++ b/gmyth/src/gmyth_file_transfer.c Wed Dec 06 02:06:57 2006 +0000
1.3 @@ -33,7 +33,6 @@
1.4 */
1.5
1.6 #include "gmyth_file_transfer.h"
1.7 -#include "gmyth_uri.h"
1.8 #include "gmyth_livetv.h"
1.9 #include "gmyth_util.h"
1.10 #include "gmyth_socket.h"
1.11 @@ -189,12 +188,9 @@
1.12 gmyth_file_transfer_new_with_uri (const gchar* uri_str)
1.13 {
1.14 GMythFileTransfer *transfer = GMYTH_FILE_TRANSFER (g_object_new (GMYTH_FILE_TRANSFER_TYPE, NULL));
1.15 - GMythURI *uri = gmyth_uri_new_with_value (uri_str);
1.16
1.17 - transfer->backend_info = gmyth_backend_info_new_full (gmyth_uri_get_host(uri),
1.18 - NULL, NULL, NULL, gmyth_uri_get_port (uri));
1.19 + transfer->backend_info = gmyth_backend_info_new_with_uri (uri_str);
1.20
1.21 - g_object_unref (uri);
1.22 return transfer;
1.23 }
1.24