diff options
Diffstat (limited to 'sftp-int.c')
-rw-r--r-- | sftp-int.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sftp-int.c b/sftp-int.c index 4c280b492..599a3444d 100644 --- a/sftp-int.c +++ b/sftp-int.c | |||
@@ -390,7 +390,7 @@ get_pathname(const char **cpp, char **path) | |||
390 | 390 | ||
391 | fail: | 391 | fail: |
392 | xfree(*path); | 392 | xfree(*path); |
393 | *path = NULL; | 393 | *path = NULL; |
394 | return (-1); | 394 | return (-1); |
395 | } | 395 | } |
396 | 396 | ||
@@ -679,7 +679,7 @@ do_globbed_ls(struct sftp_conn *conn, char *path, char *strip_path, | |||
679 | 679 | ||
680 | if (!(lflag & SHORT_VIEW)) { | 680 | if (!(lflag & SHORT_VIEW)) { |
681 | int m = 0, width = 80; | 681 | int m = 0, width = 80; |
682 | struct winsize ws; | 682 | struct winsize ws; |
683 | 683 | ||
684 | /* Count entries for sort and find longest filename */ | 684 | /* Count entries for sort and find longest filename */ |
685 | for (i = 0; g.gl_pathv[i]; i++) | 685 | for (i = 0; g.gl_pathv[i]; i++) |
@@ -759,7 +759,7 @@ parse_args(const char **cpp, int *pflag, int *lflag, int *iflag, | |||
759 | *iflag = 1; | 759 | *iflag = 1; |
760 | cp++; | 760 | cp++; |
761 | } | 761 | } |
762 | 762 | ||
763 | /* Figure out which command we have */ | 763 | /* Figure out which command we have */ |
764 | for (i = 0; cmds[i].c; i++) { | 764 | for (i = 0; cmds[i].c; i++) { |
765 | int cmdlen = strlen(cmds[i].c); | 765 | int cmdlen = strlen(cmds[i].c); |