Fix some goofs

This commit is contained in:
James R 2020-04-12 18:33:53 -07:00
parent ec1d4c9a91
commit 1f04f8e0c0

View file

@ -141,7 +141,7 @@ HMS_connect (const char *format, ...)
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, HMS_on_read);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, buffer);
free(url);
Z_Free(url);
return buffer;
}
@ -389,7 +389,7 @@ HMS_fetch_servers (msg_server_t *list, int room_number)
if (HMS_do(hms))
{
snprintf(local_version, sizeof local_version,
"%d.%d.%d\n",
"%d.%d.%d",
VERSION/100,
VERSION%100,
SUBVERSION