Fix incorrect reference clock being selected on startup on Linux.

Closes #3238. Thanks to Eric Guin and karlri.
Closes #3168.
This commit is contained in:
Roger A. Light
2025-05-01 11:58:23 +01:00
parent f781abcde9
commit 2cb8129793
2 changed files with 3 additions and 0 deletions

View File

@@ -10,6 +10,8 @@ Broker:
- Fix crash on receiving a $CONTROL message over a bridge, if
per_listener_settings is set true and the bridge is carrying out topic
remapping. Closes #3261.
- Fix incorrect reference clock being selected on startup on Linux.
Closes #3238.
Client library:
- Fix C++ symbols being removed when compiled with link time optimisation.

View File

@@ -465,6 +465,7 @@ int main(int argc, char *argv[])
#endif
struct mosquitto *ctxt, *ctxt_tmp;
mosquitto_time_init();
#if defined(WIN32) || defined(__CYGWIN__)
if(argc == 2){
if(!strcmp(argv[1], "run")){