summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-03-22 13:20:54 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-03-22 13:20:54 (GMT)
commit700aff478480588618da4f2ec52133608950ebf8 (patch)
tree1cfefc9ac26c5584449d1ae52f91d77aa67f3059 /src/client
parent340a02f37ef5088112028761c5d5c1d2b8710b63 (diff)
downloadpowder-700aff478480588618da4f2ec52133608950ebf8.zip
powder-700aff478480588618da4f2ec52133608950ebf8.tar.gz
Don't try to parse update check response if it's NULL!
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Client.cpp b/src/client/Client.cpp
index ef457b9..05ae129 100644
--- a/src/client/Client.cpp
+++ b/src/client/Client.cpp
@@ -643,7 +643,7 @@ void Client::Tick()
if(data)
free(data);
}
- else
+ else if(data)
{
std::istringstream dataStream(data);