From b710e510b1dfea473a8bf258f609042cf070f915 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Tue, 24 Mar 2015 16:22:18 +0000 Subject: [PATCH] sftp: change item b_net Set b_net to true. Signed-off-by: Jean-Baptiste Kempf --- 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 5c29a9ceab..3a59fd2e45 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.39.2