From 48b2112af70892353feadcfe16ed705ffd752951 Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 12 Apr 2020 18:33:53 -0700 Subject: [PATCH] Fix some goofs --- src/hms123311.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hms123311.c b/src/hms123311.c index d3be8f4d..13c68173 100644 --- a/src/hms123311.c +++ b/src/hms123311.c @@ -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