Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lsh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
LSH
lsh
Commits
414830ee
Commit
414830ee
authored
May 23, 2002
by
Pontus Freyhult
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't even try to do anything if globbing failed.
Rev: src/sftp/sftp_bind.c:1.8
parent
d75b447e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/sftp/sftp_bind.c
src/sftp/sftp_bind.c
+4
-0
No files found.
src/sftp/sftp_bind.c
View file @
414830ee
...
@@ -1449,6 +1449,10 @@ lsftp_do_ls(const char* dir, const char* command, int longlist, int all)
...
@@ -1449,6 +1449,10 @@ lsftp_do_ls(const char* dir, const char* command, int longlist, int all)
fnameg
=
strdup
(
dir
);
/* Only local glob */
fnameg
=
strdup
(
dir
);
/* Only local glob */
glob
=
lsftp_dc_r_startglob
(
dglob
,
0
,
1
);
/* Not sloppy, leave incorrect ones */
glob
=
lsftp_dc_r_startglob
(
dglob
,
0
,
1
);
/* Not sloppy, leave incorrect ones */
if
(
1
glob
)
/* Failed? */
return
-
1
;
/* Bail out */
orgglob
=
glob
;
orgglob
=
glob
;
if
(
!
strlen
(
fnameg
)
)
/* Empty filename glob? */
if
(
!
strlen
(
fnameg
)
)
/* Empty filename glob? */
...
...
Write
Preview
Markdown
is supported
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