From: Alon Levy Date: Wed, 13 Apr 2011 11:42:00 +0000 (+0300) Subject: libcacard: fix opposite usage of isspace X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~5947 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=685ff50f698f11dec8e9e193e8bc86b051a8cf26;p=sdk%2Femulator%2Fqemu.git libcacard: fix opposite usage of isspace Signed-off-by: Alon Levy Tested-by: Hans de Goede Signed-off-by: Aurelien Jarno --- 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; }