Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
1273201b
Commit
1273201b
authored
May 26, 2002
by
Pontus Freyhult
Browse files
Mumbl. char* is spelled char*, not const char*.
Rev: src/sftp/commands.c:1.10
parent
f997721c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/sftp/commands.c
View file @
1273201b
...
...
@@ -478,7 +478,7 @@ com_cd(const char *arg, const char *command UNUSED)
{
const
char
**
mglob
;
const
char
*
ptr
=
0
;
const
char
*
tmp2
=
lsftp_qualify_path
(
tmp
);
char
*
tmp2
=
lsftp_qualify_path
(
tmp
);
if
(
!
tmp2
)
return
-
1
;
...
...
@@ -680,7 +680,7 @@ com_rm(const char *arg, const char *command)
const
char
**
orgglob
;
const
char
*
ptr
;
const
char
*
tmp2
=
lsftp_qualify_path
(
tmp
);
char
*
tmp2
=
lsftp_qualify_path
(
tmp
);
if
(
!
tmp2
)
return
-
1
;
...
...
@@ -1108,7 +1108,7 @@ com_get(const char *arg, const char *command)
const
char
**
orgglob
;
const
char
*
ptr
;
const
char
*
tmp2
=
lsftp_qualify_path
(
tmp
);
char
*
tmp2
=
lsftp_qualify_path
(
tmp
);
if
(
!
tmp2
)
return
-
1
;
...
...
@@ -1575,7 +1575,7 @@ com_mv(const char *arg, const char *command)
(
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
)
return
-
1
;
...
...
@@ -1607,7 +1607,7 @@ com_mv(const char *arg, const char *command)
(
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
)
return
-
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment