From a46f89998c4faa4b4768e18333ec98c5107ba90b Mon Sep 17 00:00:00 2001 From: TingPing Date: Thu, 17 Jan 2013 18:57:02 -0500 Subject: actually fix updchk --- plugins/upd/upd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/upd') diff --git a/plugins/upd/upd.c b/plugins/upd/upd.c index 2b28e74d..11893eb6 100644 --- a/plugins/upd/upd.c +++ b/plugins/upd/upd.c @@ -154,7 +154,10 @@ check_version () InternetCloseHandle (hResource); InternetCloseHandle (hConnect); InternetCloseHandle (hOpen); - return buffer; + if (strlen (buffer) == 5) + return buffer; + else + return "Unknown"; } } -- cgit 1.4.1