[vlc-devel] [PATCH 5/7] sftp: change item b_net

Thomas Guillem thomas at gllm.fr
Tue Mar 24 18:22:18 CET 2015


Set b_net to true.
---
 modules/access/sftp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/sftp.c b/modules/access/sftp.c
index 5c29a9c..3a59fd2 100644
--- a/modules/access/sftp.c
+++ b/modules/access/sftp.c
@@ -480,8 +480,8 @@ static int DirRead (access_t *p_access, input_item_node_t *p_current_node)
         free( psz_uri );
 
         int i_type = LIBSSH2_SFTP_S_ISDIR( attrs.permissions ) ? ITEM_TYPE_DIRECTORY : ITEM_TYPE_FILE;
-        input_item_t *p_new = input_item_NewWithType( psz_full_uri, psz_file,
-                                                      0, NULL, 0, 0, i_type );
+        input_item_t *p_new = input_item_NewWithTypeExt( psz_full_uri, psz_file,
+                                                         0, NULL, 0, 0, i_type, 1 );
 
         if( p_new == NULL )
         {
-- 
2.1.3




More information about the vlc-devel mailing list