(svn r19600) -Fix (r18994): Presence of online content was not properly updated after download due to duplicate slashes in the path.
This commit is contained in:
@@ -604,6 +604,7 @@ void ClientNetworkContentSocketHandler::OnReceiveData(const char *data, size_t l
|
|||||||
|
|
||||||
p = strrchr(str, '/');
|
p = strrchr(str, '/');
|
||||||
check_not_null(p);
|
check_not_null(p);
|
||||||
|
p++; // Start after the '/'
|
||||||
|
|
||||||
char tmp[MAX_PATH];
|
char tmp[MAX_PATH];
|
||||||
if (strecpy(tmp, p, lastof(tmp)) == lastof(tmp)) {
|
if (strecpy(tmp, p, lastof(tmp)) == lastof(tmp)) {
|
||||||
|
Reference in New Issue
Block a user