Commit f0fbc62e authored by Niels Möller's avatar Niels Möller
Browse files

(lsftp_rl_remotefile_generator): Use const char.

Rev: src/sftp/rl.c:1.8
parent 9636b6d9
......@@ -314,7 +314,7 @@ char* lsftp_rl_remotefile_generator( char* text, int state )
{
static int list_index;
char* name;
static char** glob;
static const char** glob;
static int unqualify = 0;
/* If this is a new word to complete, initialize now. */
......@@ -390,7 +390,7 @@ char* lsftp_rl_remotefile_generator( char* text, int state )
char* tmp;
char* tmp2;
char* nfree = strdup( glob[list_index++] );
char* name = nfree;
const char* name = nfree;
if( unqualify )
name = lsftp_unqualify_path( nfree );
......
Markdown is supported
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