actually fix updchk

This commit is contained in:
TingPing 2013-01-17 18:57:02 -05:00
parent 606cb09fa5
commit a46f89998c

View File

@ -154,7 +154,10 @@ check_version ()
InternetCloseHandle (hResource); InternetCloseHandle (hResource);
InternetCloseHandle (hConnect); InternetCloseHandle (hConnect);
InternetCloseHandle (hOpen); InternetCloseHandle (hOpen);
return buffer; if (strlen (buffer) == 5)
return buffer;
else
return "Unknown";
} }
} }