Skip to content
Snippets Groups Projects
Commit f5c5ec00 authored by James R.'s avatar James R.
Browse files

Use SRB2VERSION here...

parent 93615b07
No related branches found
No related tags found
1 merge request!940HTTP Based Master Server + Multithreading
...@@ -385,15 +385,13 @@ HMS_register (void) ...@@ -385,15 +385,13 @@ HMS_register (void)
snprintf(post, sizeof post, snprintf(post, sizeof post,
"port=%d&" "port=%d&"
"title=%s&" "title=%s&"
"version=%d.%d.%d", "version=%s",
current_port, current_port,
title, title,
VERSION/100, SRB2VERSION
VERSION%100,
SUBVERSION
); );
curl_free(title); curl_free(title);
...@@ -528,10 +526,8 @@ HMS_fetch_servers (msg_server_t *list, int room_number, int query_id) ...@@ -528,10 +526,8 @@ HMS_fetch_servers (msg_server_t *list, int room_number, int query_id)
doing_shit = 1; doing_shit = 1;
snprintf(local_version, sizeof local_version, snprintf(local_version, sizeof local_version,
"%d.%d.%d", "%s",
VERSION/100, SRB2VERSION
VERSION%100,
SUBVERSION
); );
p = hms->buffer; p = hms->buffer;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment