summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b40d0826..aa7e6b19 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -471,6 +471,12 @@ void update()
while (!in.eof())
{
getline(in, line);
+
+ // check for XML tag (if it is XML tag it is error)
+ if (line[0] == '<') {
+ std::cout << "Error: resources.txt download error (404)" << std::endl;
+ break;
+ }
fullName = homeDir;
fullName += "/";