Commit 53be28d5 authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Removed calls to lsftp_unqualify_paths, why did I think they should

be there?

Rev: src/sftp/dc.c:1.4
parent aadc739a
......@@ -604,6 +604,8 @@ lsftp_dc_r_startglob(const char *glob, int sloppy, int nocheck )
int deeper = 0;
int size;
/* FIXME: Do we allow for both qualified and unqualified paths to be globbed? */
if( sloppy )
return lsftp_dc_r_sloppy_glob( glob, nocheck );
......@@ -673,7 +675,7 @@ lsftp_dc_r_startglob(const char *glob, int sloppy, int nocheck )
while( mem[i] )
if(
lsftp_dc_glob_matches(
lsftp_unqualify_path( mem[i] ),
mem[i],
mglob,
0
)
......@@ -683,7 +685,7 @@ lsftp_dc_r_startglob(const char *glob, int sloppy, int nocheck )
{
const char *tmp;
tmp = strdup( lsftp_unqualify_path( mem[i] ) );
tmp = strdup( mem[i] );
if( tmp )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment