projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7994a33
)
libcacard: fix opposite usage of isspace
author
Alon Levy
<alevy@redhat.com>
Wed, 13 Apr 2011 11:42:00 +0000
(14:42 +0300)
committer
Aurelien Jarno
<aurelien@aurel32.net>
Sun, 17 Apr 2011 18:40:31 +0000
(20:40 +0200)
Signed-off-by: Alon Levy <alevy@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
libcacard/vcard_emul_nss.c
patch
|
blob
|
history
diff --git
a/libcacard/vcard_emul_nss.c
b/libcacard/vcard_emul_nss.c
index
71f2ba3
..
baada52
100644
(file)
--- 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;
}