Commit 56472e35 authored by Niels Möller's avatar Niels Möller
Browse files

(com_umask): Use unsigned char.

(handle_command): Unsigned char argument.

Rev: src/sftp/commands.c:1.4
parent 3c13dadd
......@@ -257,7 +257,7 @@ com_mail(const char *arg UNUSED, const char *command)
com_umask(const char *arg, const char *command UNUSED)
char tmp[PATH_MAX];
unsigned char tmp[PATH_MAX];
int given = 0;
while( arg &&
......@@ -1883,6 +1883,7 @@ com_lls(const char *arg, const char *command UNUSED)
modestring[6] = 'T';
/* FIXME: Doesn't handle off_t larger than long */
/* FIXME: st_nlink is a long on Solaris */
"%s %4d %-8s %-8s %8ld ",
......@@ -1929,7 +1930,7 @@ com_lmv(const char *arg UNUSED, const char *command UNUSED)
handle_command(const char *s)
handle_command(const unsigned char *s)
const char *entered_cmd = s;
char tmp[WORDLENMAX];
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