From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBty4-0000CK-T8 for qemu-devel@nongnu.org; Mon, 18 Apr 2011 15:18:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QBty3-0005IT-EB for qemu-devel@nongnu.org; Mon, 18 Apr 2011 15:18:40 -0400 Received: from hall.aurel32.net ([88.191.126.93]:37952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QBty3-0005IP-7M for qemu-devel@nongnu.org; Mon, 18 Apr 2011 15:18:39 -0400 Date: Mon, 18 Apr 2011 21:18:35 +0200 From: Aurelien Jarno Message-ID: <20110418191835.GL16178@volta.aurel32.net> References: <1302694920-8111-1-git-send-email-alevy@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1302694920-8111-1-git-send-email-alevy@redhat.com> Subject: Re: [Qemu-devel] [PATCH] libcacard: fix opposite usage of isspace List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alon Levy Cc: qemu-devel@nongnu.org On Wed, Apr 13, 2011 at 02:42:00PM +0300, Alon Levy wrote: > Signed-off-by: Alon Levy > --- > libcacard/vcard_emul_nss.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Thanks, applied. > 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 > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net