mirror of
https://github.com/boostorg/regex.git
synced 2025-06-30 22:30:57 +02:00
Merge bug fixes from Trunk - see history for full details.
[SVN r58234]
This commit is contained in:
@ -55,11 +55,11 @@ int process_ftp(const char* response, std::string* msg)
|
||||
istream& getline(istream& is, std::string& s)
|
||||
{
|
||||
s.erase();
|
||||
char c = is.get();
|
||||
char c = static_cast<char>(is.get());
|
||||
while(c != '\n')
|
||||
{
|
||||
s.append(1, c);
|
||||
c = is.get();
|
||||
c = static_cast<char>(is.get());
|
||||
}
|
||||
return is;
|
||||
}
|
||||
|
Reference in New Issue
Block a user