actually fix updchk

This commit is contained in:
TingPing 2013-01-17 18:57:02 -05:00
parent 606cb09fa5
commit a46f89998c
1 changed files with 4 additions and 1 deletions

View File

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