1
0
Fork 0

(svn r19600) -Fix (r18994): Presence of online content was not properly updated after download due to duplicate slashes in the path.

release/1.1
frosch 2010-04-10 21:34:21 +00:00
parent c233dc08c1
commit ba5f5c1ce1
1 changed files with 1 additions and 0 deletions

View File

@ -604,6 +604,7 @@ void ClientNetworkContentSocketHandler::OnReceiveData(const char *data, size_t l
p = strrchr(str, '/');
check_not_null(p);
p++; // Start after the '/'
char tmp[MAX_PATH];
if (strecpy(tmp, p, lastof(tmp)) == lastof(tmp)) {