summaryrefslogtreecommitdiffstats
path: root/sftp-int.c
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-05 13:42:17 +0100
committerKevin Steves <stevesk@pobox.com>2001-02-05 13:42:17 +0100
commitef4eea9badfb65f05ac24f786b710cc3f27f0e43 (patch)
treef54abef181ccd6ad5285a5c16b4c159d8b74e932 /sftp-int.c
parent - (bal) AIX patch for auth1.c by William L. Jones <jones@hpc.utexas.edu> (diff)
downloadopenssh-ef4eea9badfb65f05ac24f786b710cc3f27f0e43.tar.xz
openssh-ef4eea9badfb65f05ac24f786b710cc3f27f0e43.zip
- stevesk@cvs.openbsd.org 2001/02/04 08:32:27
[many files; did this manually to our top-level source dir] unexpand and remove end-of-line whitespace; ok markus@
Diffstat (limited to 'sftp-int.c')
-rw-r--r--sftp-int.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sftp-int.c b/sftp-int.c
index bdb470b1c..9ec5b9712 100644
--- a/sftp-int.c
+++ b/sftp-int.c
@@ -130,10 +130,10 @@ local_do_shell(const char *args)
int ret, status;
char *shell;
pid_t pid;
-
+
if (!*args)
args = NULL;
-
+
if ((shell = getenv("SHELL")) == NULL)
shell = _PATH_BSHELL;
@@ -149,7 +149,7 @@ local_do_shell(const char *args)
debug3("Executing %s", shell);
ret = execl(shell, shell, NULL);
}
- fprintf(stderr, "Couldn't execute \"%s\": %s\n", shell,
+ fprintf(stderr, "Couldn't execute \"%s\": %s\n", shell,
strerror(errno));
_exit(1);
}
@@ -161,7 +161,7 @@ local_do_shell(const char *args)
error("Shell exited with status %d", WEXITSTATUS(status));
}
-void
+void
local_do_ls(const char *args)
{
if (!args || !*args)
@@ -367,7 +367,7 @@ parse_args(const char **cpp, int *pflag, unsigned long *n_arg,
if (get_pathname(&cp, path1))
return(-1);
if (*path1 == NULL) {
- error("You must specify a path after a %s command.",
+ error("You must specify a path after a %s command.",
cmd);
return(-1);
}
@@ -403,7 +403,7 @@ parse_args(const char **cpp, int *pflag, unsigned long *n_arg,
if (get_pathname(&cp, path1))
return(-1);
if (*path1 == NULL) {
- error("You must specify a path after a %s command.",
+ error("You must specify a path after a %s command.",
cmd);
return(-1);
}