From 0740cdaac9e7bf37492988af31f85bb7898bc327 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 19 Aug 2008 16:53:47 +0000 Subject: fix typo in ctype.c Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3518 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/libc/ctype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/payloads/libpayload/libc/ctype.c b/payloads/libpayload/libc/ctype.c index 5485b46097..fba9a7caee 100644 --- a/payloads/libpayload/libc/ctype.c +++ b/payloads/libpayload/libc/ctype.c @@ -81,7 +81,7 @@ int ispunct(int c) int isspace(int c) { - return (c == ' ' || (c >= '\t' || c <= '\r')); + return (c == ' ' || (c >= '\t' && c <= '\r')); } int isupper(int c) -- cgit v1.2.3