]> git.saurik.com Git - apt.git/blobdiff - methods/server.cc
Convert most callers of isspace() to isspace_ascii()
[apt.git] / methods / server.cc
index e89af2dfecd37140a50c046d8a69f8d147ca2e6c..d5188d4a31450a81248b7269b87b4edc24602a58 100644 (file)
@@ -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);