From 700aff478480588618da4f2ec52133608950ebf8 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw <simon@hardwired.org.uk> Date: Fri, 22 Mar 2013 13:20:54 +0000 Subject: [PATCH] Don't try to parse update check response if it's NULL! --- src/client/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/Client.cpp b/src/client/Client.cpp index ef457b92f..05ae12905 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);