From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9ySX-0006eH-IH for qemu-devel@nongnu.org; Wed, 13 Apr 2011 07:42:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9yST-00062d-Nf for qemu-devel@nongnu.org; Wed, 13 Apr 2011 07:42:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:55490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9yST-00062W-Bx for qemu-devel@nongnu.org; Wed, 13 Apr 2011 07:42:05 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3DBg299031540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 13 Apr 2011 07:42:03 -0400 Received: from playa.tlv.redhat.com (dhcp-3-110.tlv.redhat.com [10.35.3.110]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p3DBg148029662 for ; Wed, 13 Apr 2011 07:42:02 -0400 From: Alon Levy Date: Wed, 13 Apr 2011 14:42:00 +0300 Message-Id: <1302694920-8111-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [PATCH] libcacard: fix opposite usage of isspace List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Alon Levy --- libcacard/vcard_emul_nss.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcacard/vcard_emul_nss.c b/libcacard/vcard_emul_nss.c index 71f2ba3..baada52 100644 --- a/libcacard/vcard_emul_nss.c +++ b/libcacard/vcard_emul_nss.c @@ -955,7 +955,7 @@ count_tokens(const char *str, char token, char token_end) static const char * strip(const char *str) { - for (; *str && !isspace(*str); str++) { + for (; *str && isspace(*str); str++) { } return str; } @@ -963,7 +963,7 @@ strip(const char *str) static const char * find_blank(const char *str) { - for (; *str && isspace(*str); str++) { + for (; *str && !isspace(*str); str++) { } return str; } -- 1.7.4.2