summaryrefslogtreecommitdiff
path: root/sftp.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-11-21 13:57:15 +1100
committerDamien Miller <djm@mindrot.org>2013-11-21 13:57:15 +1100
commitfdb2306acdc3eb2bc46b6dfdaaf6005c650af22a (patch)
treee74555afa79597355921b5e6ce9ba4ae901b5253 /sftp.c
parente00167307e4d3692695441e9bd712f25950cb894 (diff)
- deraadt@cvs.openbsd.org 2013/11/20 20:54:10
[canohost.c clientloop.c match.c readconf.c sftp.c] unsigned casts for ctype macros where neccessary ok guenther millert markus
Diffstat (limited to 'sftp.c')
-rw-r--r--sftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sftp.c b/sftp.c
index abc689e8c..ad1f8c84d 100644
--- a/sftp.c
+++ b/sftp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: sftp.c,v 1.157 2013/10/17 07:35:48 jmc Exp $ */ 1/* $OpenBSD: sftp.c,v 1.158 2013/11/20 20:54:10 deraadt Exp $ */
2/* 2/*
3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org> 3 * Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
4 * 4 *
@@ -1065,7 +1065,7 @@ makeargv(const char *arg, int *argcp, int sloppy, char *lastquote,
1065 error("Too many arguments."); 1065 error("Too many arguments.");
1066 return NULL; 1066 return NULL;
1067 } 1067 }
1068 if (isspace(arg[i])) { 1068 if (isspace((unsigned char)arg[i])) {
1069 if (state == MA_UNQUOTED) { 1069 if (state == MA_UNQUOTED) {
1070 /* Terminate current argument */ 1070 /* Terminate current argument */
1071 argvs[j++] = '\0'; 1071 argvs[j++] = '\0';