diff options
author | Jilles Tjoelker <jilles@irssi.org> | 2009-02-21 17:34:13 +0000 |
---|---|---|
committer | jilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2009-02-21 17:34:13 +0000 |
commit | 145f566f19fa6f02fc65aeea366fd15f5ec01de1 (patch) | |
tree | 6a6bb453ab8bbc8dbca4fa4c71fa5cc5a2500100 /src | |
parent | fe5ebc57a9a8edb0f3891748cd5a120aed451493 (diff) | |
download | irssi-145f566f19fa6f02fc65aeea366fd15f5ec01de1.zip |
Use i_isspace to make this clearer.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5019 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/fe-settings.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c index 92cf61ab..508c4e17 100644 --- a/src/fe-common/core/fe-settings.c +++ b/src/fe-common/core/fe-settings.c @@ -85,7 +85,7 @@ static void set_int(const char *key, const char *value) errno = 0; longval = strtol(value, &endp, 10); error = errno; - while (isspace((unsigned char)*endp)) + while (i_isspace(*endp)) endp++; if (error != 0 || *endp != '\0' || longval < INT_MIN || longval > INT_MAX) printformat(NULL, NULL, MSGLEVEL_CLIENTERROR, TXT_INVALID_NUMBER); |