Commit Graph

30 Commits

Author SHA1 Message Date
fpagliughi 1bb2e691e1 - Removed unnecessary _WIN64 conditional checks
- Fixed some conditional compilation using (WIN32) to (_WIN32)
2025-01-09 16:09:38 -05:00
Ian Craggs 7fabf60235 Fix compile warnings about no function prototype 2024-04-02 16:06:38 +01:00
Ian Craggs afb5e871ba Rename public Threading functions to avoid clashes #1313 2023-10-10 12:20:56 +01:00
Ian Craggs b79bcf0d40 Update out of date mqtt server hostnames 2022-01-27 16:41:46 +00:00
Ian Craggs 332662ec6a Remove compile warnings in tests 2020-10-27 20:09:51 +00:00
Ian Craggs e4c3757524 Update tests to remove compile warnings on Ubuntu 20.04 2020-10-02 15:55:42 +01:00
Ian Craggs 1e91229cb6 Update license from EPL v1 to v2 2020-04-06 13:27:50 +01:00
fpagliughi fbd38b16cf
#368 Add underscores to Windows compiler macro checks, _WIN32 and _WIN64
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2020-01-25 10:38:18 -05:00
Ian Craggs ac3ae38069 Correct persisting of pubrel received publish messages in MQTT V5 2019-11-26 14:20:17 +00:00
Ian Craggs 296fe57cd2 MQTT V5 persistence updates #534 2018-09-05 22:13:40 +01:00
Ian Craggs b880d34f4b Windows CMake build additions and corrections 2017-03-20 22:47:28 +00:00
Ian Craggs e9b89be45d Merge branch 'cmake-tests-appveyor' of https://github.com/orpiske/paho.mqtt.c into fixes 2017-03-18 11:19:12 +00:00
Ian Craggs 19d0c91d89 Merge pull request #235 from orpiske/protocol-log-override
Proposed enhancement: do not override trace settings from environment
2017-03-18 00:58:10 +00:00
Otavio Rodolfo Piske c463fc4c33 Do not override protocol log settings from environment variables
Signed-off-by: Otavio Rodolfo Piske <opiske@redhat.com>
2017-03-07 21:11:05 +01:00
Guilherme Maciel Ferreira 7b92bc3ec9 Using standard constants for exit(3) and return
According to ISO/IEC 9899:2011, section 7.22.4.4 (The exit function),
"the constant EXIT_FAILURE is the implementation independent way to
issue failures to exit(3)." Whereas EXIT_SUCCESS is the portable way
to return success.

Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
2017-03-06 11:55:23 -06:00
Guilherme Maciel Ferreira 6e88fdffbc Ensure an empty parameter list using void
According to ISO/IEC 9899:2011, section 6.7.6.3 (Function declarators
including prototypes): "The special case of an unnamed parameter of
type void as the only item in the list specifies that the function
has no parameters."

Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
2017-03-06 11:44:52 -06:00
Otavio Rodolfo Piske 7a66543ec2 Fix compilation errors on test2 due to multiple symbol redefinitions
Signed-off-by: Otavio Rodolfo Piske <opiske@redhat.com>
2017-02-07 14:28:33 +01:00
Ian Craggs e315ce26dc Build test2 and test3 on Windows 2016-06-16 23:01:26 +01:00
Ian Craggs 2a8dad13d3 Add offline buffering test, and reconnect function 2016-06-05 23:40:21 +01:00
Ian Craggs 2b9ce5e02a Fix counting in test2 2015-12-15 12:16:37 +00:00
Ian Craggs d467046384 Lengthen wait in test2.c test1 2015-12-15 11:15:08 +00:00
Ian Craggs 9cde3e531b Lengthen wait time and alter check in test2 2015-12-15 10:50:41 +00:00
Ian Craggs e8ec3da35f Test2 test working - remove excess debug messages 2015-11-10 23:40:33 +00:00
Ian Craggs ca795ebd64 More debugging in test2.c 2015-11-10 23:32:31 +00:00
Ian Craggs bfd717e08e Add another missing volatile 2015-11-10 23:22:02 +00:00
Ian Craggs 2263edc821 Add mutex locks to correct callback 2015-11-10 23:17:51 +00:00
Ian Craggs 12b4bca84c Protect delivery complete count from multiple access 2015-11-10 22:53:41 +00:00
Ian Craggs 7c03c4adb7 Add volatile to count, to try to get multi-thread test working properly 2015-11-10 22:37:50 +00:00
Ian Craggs 5deab80ded Fix build - reduce log output 2015-08-13 16:08:12 +01:00
Ian Craggs 8a93fed2bc Fix multi-thread access for MQTTClient
Bug: 474905
2015-08-13 15:09:14 +01:00