mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-31 14:39:53 +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 == '"')
|
||||
{
|
||||
++it;
|
||||
if (it == end || (it != end && *it != '"')) break;
|
||||
if (it == end || *it != '"') break;
|
||||
}
|
||||
path += *it++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user