Commit 1273201b authored by Pontus Freyhult's avatar Pontus Freyhult
Browse files

Mumbl. char* is spelled char*, not const char*.

Rev: src/sftp/commands.c:1.10
parent f997721c
...@@ -478,7 +478,7 @@ com_cd(const char *arg, const char *command UNUSED) ...@@ -478,7 +478,7 @@ com_cd(const char *arg, const char *command UNUSED)
{ {
const char **mglob; const char **mglob;
const char *ptr = 0; const char *ptr = 0;
const char* tmp2 = lsftp_qualify_path( tmp ); char* tmp2 = lsftp_qualify_path( tmp );
if( !tmp2 ) if( !tmp2 )
return -1; return -1;
...@@ -680,7 +680,7 @@ com_rm(const char *arg, const char *command) ...@@ -680,7 +680,7 @@ com_rm(const char *arg, const char *command)
const char **orgglob; const char **orgglob;
const char *ptr; const char *ptr;
const char* tmp2 = lsftp_qualify_path( tmp ); char* tmp2 = lsftp_qualify_path( tmp );
if( !tmp2 ) if( !tmp2 )
return -1; return -1;
...@@ -1108,7 +1108,7 @@ com_get(const char *arg, const char *command) ...@@ -1108,7 +1108,7 @@ com_get(const char *arg, const char *command)
const char **orgglob; const char **orgglob;
const char *ptr; const char *ptr;
const char* tmp2 = lsftp_qualify_path( tmp ); char* tmp2 = lsftp_qualify_path( tmp );
if( !tmp2 ) if( !tmp2 )
return -1; return -1;
...@@ -1575,7 +1575,7 @@ com_mv(const char *arg, const char *command) ...@@ -1575,7 +1575,7 @@ com_mv(const char *arg, const char *command)
( arg = lsftp_s_strtok( arg," \n\t\r", tmp, PATH_MAX ) ) ( arg = lsftp_s_strtok( arg," \n\t\r", tmp, PATH_MAX ) )
) )
{ {
const char* tmp2 = lsftp_qualify_path( tmp ); char* tmp2 = lsftp_qualify_path( tmp );
if( !tmp2 ) if( !tmp2 )
return -1; return -1;
...@@ -1607,7 +1607,7 @@ com_mv(const char *arg, const char *command) ...@@ -1607,7 +1607,7 @@ com_mv(const char *arg, const char *command)
( arg = lsftp_s_strtok( arg," \n\t\r", tmp, PATH_MAX ) ) ( arg = lsftp_s_strtok( arg," \n\t\r", tmp, PATH_MAX ) )
) )
{ {
const char* tmp2 = lsftp_qualify_path( tmp ); char* tmp2 = lsftp_qualify_path( tmp );
if( !tmp2 ) if( !tmp2 )
return -1; return -1;
......
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