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

pull/155/head
frosch 14 years ago
parent a3fdb26bee
commit 1d0335a798

@ -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)) {

Loading…
Cancel
Save