提交 685ff50f 编写于 作者: A Alon Levy 提交者: Aurelien Jarno

libcacard: fix opposite usage of isspace

Signed-off-by: NAlon Levy <alevy@redhat.com>
Tested-by: NHans de Goede <hdegoede@redhat.com>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 6a385343
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册