diff options
author | TingPing <tingping@tingping.se> | 2013-01-17 18:57:02 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-01-17 18:57:02 -0500 |
commit | a46f89998c4faa4b4768e18333ec98c5107ba90b (patch) | |
tree | 0299f5644c2bb207e8c7979921fd695a2aebcfec /plugins/upd | |
parent | 606cb09fa5a04fc47468fac3011c9962dc4699d3 (diff) |
actually fix updchk
Diffstat (limited to 'plugins/upd')
-rw-r--r-- | plugins/upd/upd.c | 5 |
1 files changed, 4 insertions, 1 deletions
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"; } } |