summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-24 00:54:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-24 00:54:31 +0000
commita558abec9359523a726dbcdbdf990d25b9e1fa65 (patch)
tree4521e13827eeb0b35690aa8765a5267e9abaa2a8 /usr.sbin/ppp
parente73482f4be9e03b0926b2e394ccb678161e36eca (diff)
fairly obvious ctype cleanup dealing with argv
ok jca
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/ppp/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp/command.c b/usr.sbin/ppp/ppp/command.c
index 6422edc267f..248074b8a1b 100644
--- a/usr.sbin/ppp/ppp/command.c
+++ b/usr.sbin/ppp/ppp/command.c
@@ -25,7 +25,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: command.c,v 1.93 2013/04/29 00:28:23 okan Exp $
+ * $OpenBSD: command.c,v 1.94 2013/11/24 00:54:30 deraadt Exp $
*/
#include <sys/param.h>
@@ -3110,7 +3110,7 @@ RunListCommand(struct cmdargs const *arg)
#ifndef NONAT
if (arg->cmd->args == NatCommands &&
- tolower(*arg->argv[arg->argn - 1]) == 'a') {
+ tolower((unsigned char)*arg->argv[arg->argn - 1]) == 'a') {
if (arg->prompt)
prompt_Printf(arg->prompt, "The alias command is deprecated\n");
else