diff options
author | frosch <frosch@openttd.org> | 2010-04-10 21:34:21 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-04-10 21:34:21 +0000 |
commit | ba5f5c1ce16e7a2c185522daa74c295fbc3e80ec (patch) | |
tree | 06b8c6ee8be4102de5f7799ad146b74eebe73027 | |
parent | c233dc08c148792eddd7b219ff17bb0f7223a8b0 (diff) | |
download | openttd-ba5f5c1ce16e7a2c185522daa74c295fbc3e80ec.tar.xz |
(svn r19600) -Fix (r18994): Presence of online content was not properly updated after download due to duplicate slashes in the path.
-rw-r--r-- | src/network/network_content.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp index 76576f2c2..cf69e09fa 100644 --- a/src/network/network_content.cpp +++ b/src/network/network_content.cpp @@ -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)) { |