From 700aff478480588618da4f2ec52133608950ebf8 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Fri, 22 Mar 2013 13:20:54 +0000 Subject: Don't try to parse update check response if it's NULL! 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); -- cgit v0.9.2-21-gd62e