diff options
author | Julian Andres Klode <jak@debian.org> | 2015-12-27 00:51:59 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-12-27 01:20:41 +0100 |
commit | 74dedb4ae28fd4f7c89bf769708d4f7edc7ed79a (patch) | |
tree | a1d8539a50180611afcd34fac1e597aaf286cd19 /methods/server.cc | |
parent | 98b063439156595f74c89e923bf4d3fd51a3b36f (diff) |
Convert most callers of isspace() to isspace_ascii()
This converts all callers that read machine-generated data,
callers that might work with user input are not converted.
Diffstat (limited to 'methods/server.cc')
-rw-r--r-- | methods/server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/server.cc b/methods/server.cc index e89af2dfe..d5188d4a3 100644 --- a/methods/server.cc +++ b/methods/server.cc @@ -114,7 +114,7 @@ bool ServerState::HeaderLine(string Line) // Parse off any trailing spaces between the : and the next word. string::size_type Pos2 = Pos; - while (Pos2 < Line.length() && isspace(Line[Pos2]) != 0) + while (Pos2 < Line.length() && isspace_ascii(Line[Pos2]) != 0) Pos2++; string Tag = string(Line,0,Pos); |