Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
paho.mqtt.c
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eclipse
paho.mqtt.c
Commits
5deab80d
Commit
5deab80d
authored
Aug 13, 2015
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build - reduce log output
parent
8a93fed2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
Makefile
Makefile
+1
-1
test2.c
test/test2.c
+0
-2
No files found.
Makefile
View file @
5deab80d
...
...
@@ -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
...
...
test/test2.c
View file @
5deab80d
...
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment