summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-04-13 14:42:00 +0300
committerHans de Goede <hdegoede@redhat.com>2011-05-04 13:33:09 +0200
commit01fa8775b0902677cceba95793643e20338f1e8b (patch)
tree54fb5a511d8bed5b70a1d939742500d54cd1988f
parent8870d022688120ad0e52f873f30f5a0f4aae0ac7 (diff)
libcacard: fix opposite usage of isspaceqemu-kvm-0.14.0-spice
Signed-off-by: Alon Levy <alevy@redhat.com>
-rw-r--r--libcacard/vcard_emul_nss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcacard/vcard_emul_nss.c b/libcacard/vcard_emul_nss.c
index 71f2ba3ae5..baada52a3c 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;
}