mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
synced 2025-10-30 18:17:50 +00:00
- fixed SF# 2932647: FTPClientSession::getWorkingDirectory() returns a bad result
This commit is contained in:
@@ -15,6 +15,7 @@ Release 1.3.6p2 (2010-01-xx)
|
||||
- updated iPhone build configuration (contributed by Martin York)
|
||||
- fixed SF# 1815124 (reopened): XML Compile failed on VS7.1 with
|
||||
XML_UNICODE_WCHAR_T
|
||||
- fixed SF# 2932647: FTPClientSession::getWorkingDirectory() returns a bad result
|
||||
|
||||
|
||||
Release 1.3.6p1 (2009-12-21)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// FTPClientSession.cpp
|
||||
//
|
||||
// $Id: //poco/1.3/Net/src/FTPClientSession.cpp#3 $
|
||||
// $Id: //poco/1.3/Net/src/FTPClientSession.cpp#4 $
|
||||
//
|
||||
// Library: Net
|
||||
// Package: FTP
|
||||
@@ -318,7 +318,7 @@ std::string FTPClientSession::extractPath(const std::string& response)
|
||||
if (*it == '"')
|
||||
{
|
||||
++it;
|
||||
if (it != end && *it != '"') break;
|
||||
if (it == end || (it != end && *it != '"')) break;
|
||||
}
|
||||
path += *it++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user