mirror of https://github.com/eclipse/paho.mqtt.c
Fix build - reduce log output
This commit is contained in:
parent
8a93fed2bc
commit
5deab80ded
2
Makefile
2
Makefile
|
|
@ -84,7 +84,7 @@ SYNC_TESTS = ${addprefix ${blddir}/test/,${TEST_FILES_C}}
|
|||
TEST_FILES_CS = test3
|
||||
SYNC_SSL_TESTS = ${addprefix ${blddir}/test/,${TEST_FILES_CS}}
|
||||
|
||||
TEST_FILES_A = test4 test_mqtt4async MQTTAsync_multi_pub
|
||||
TEST_FILES_A = test4 test_mqtt4async
|
||||
ASYNC_TESTS = ${addprefix ${blddir}/test/,${TEST_FILES_A}}
|
||||
|
||||
TEST_FILES_AS = test5
|
||||
|
|
|
|||
|
|
@ -295,7 +295,6 @@ int test1_messageArrived(void* context, char* topicName, int topicLen, MQTTClien
|
|||
++(test1_arrivedcount_qos[m->qos]);
|
||||
++test1_arrivedcount;
|
||||
|
||||
printf("messageArrived qos %d, count %d\n", m->qos, test1_arrivedcount_qos[m->qos]);
|
||||
MyLog(LOGA_DEBUG, "messageArrived: %d message received on topic %s is %.*s.",
|
||||
test1_arrivedcount, topicName, m->payloadlen, (char*)(m->payload));
|
||||
if (test1_pubmsg_check.payloadlen != m->payloadlen ||
|
||||
|
|
@ -350,7 +349,6 @@ thread_return_type WINAPI test1_sendAndReceive(void* n)
|
|||
qos, test1_pubmsg.retained, NULL);
|
||||
else
|
||||
rc = MQTTClient_publishMessage(c, test_topic, &test1_pubmsg, &dt);
|
||||
printf("published %d at qos %d %d\n", i, qos, parms->qos);
|
||||
assert("Good rc from publish", rc == MQTTCLIENT_SUCCESS, "rc was %d", rc);
|
||||
|
||||
#if defined(WIN32)
|
||||
|
|
|
|||
Loading…
Reference in New Issue