mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-07 14:30:13 +01:00
#2902: [FTPClient] Optimize expression
This commit is contained in:
parent
c4bdadffb3
commit
b3f75eb850
@ -429,7 +429,7 @@ std::string FTPClientSession::extractPath(const std::string& response)
|
|||||||
if (*it == '"')
|
if (*it == '"')
|
||||||
{
|
{
|
||||||
++it;
|
++it;
|
||||||
if (it == end || (it != end && *it != '"')) break;
|
if (it == end || *it != '"') break;
|
||||||
}
|
}
|
||||||
path += *it++;
|
path += *it++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user