[vlc-commits] sftp: change item b_net

Thomas Guillem git at videolan.org
Wed Mar 25 15:35:10 CET 2015


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar 24 16:22:18 2015 +0000| [b710e510b1dfea473a8bf258f609042cf070f915] | committer: Jean-Baptiste Kempf

sftp: change item b_net

Set b_net to true.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b710e510b1dfea473a8bf258f609042cf070f915
---

 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 )
         {



More information about the vlc-commits mailing list