sim-card
/
qemu
Archived
10
0
Fork 0

libcacard: fix opposite usage of isspace

Signed-off-by: Alon Levy <alevy@redhat.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Alon Levy 2011-04-13 14:42:00 +03:00 committed by Aurelien Jarno
parent 6a385343e4
commit 685ff50f69
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}