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"; } }