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
f54ff292
Commit
f54ff292
authored
Oct 11, 2013
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shorten clientid in test4.c test6, to be less than 23 chars
parent
735662d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
test4.c
test/test4.c
+1
-3
No files found.
test/test4.c
View file @
f54ff292
...
@@ -1031,7 +1031,7 @@ int test6(struct Options options)
...
@@ -1031,7 +1031,7 @@ int test6(struct Options options)
test_finished
=
0
;
test_finished
=
0
;
cinfo
.
should_fail
=
1
;
/* fail to connect */
cinfo
.
should_fail
=
1
;
/* fail to connect */
rc
=
MQTTAsync_create
(
&
cinfo
.
c
,
"tcp://rubbish:1883"
,
"async ha connection
test
"
,
rc
=
MQTTAsync_create
(
&
cinfo
.
c
,
"tcp://rubbish:1883"
,
"async ha connection"
,
MQTTCLIENT_PERSISTENCE_DEFAULT
,
NULL
);
MQTTCLIENT_PERSISTENCE_DEFAULT
,
NULL
);
assert
(
"good rc from create"
,
rc
==
MQTTASYNC_SUCCESS
,
"rc was %d
\n
"
,
rc
);
assert
(
"good rc from create"
,
rc
==
MQTTASYNC_SUCCESS
,
"rc was %d
\n
"
,
rc
);
if
(
rc
!=
MQTTASYNC_SUCCESS
)
if
(
rc
!=
MQTTASYNC_SUCCESS
)
...
@@ -1061,8 +1061,6 @@ int test6(struct Options options)
...
@@ -1061,8 +1061,6 @@ int test6(struct Options options)
usleep
(
10000L
);
usleep
(
10000L
);
#endif
#endif
MQTTAsync_setTraceLevel
(
MQTTASYNC_TRACE_MINIMUM
);
test_finished
=
0
;
test_finished
=
0
;
cinfo
.
should_fail
=
0
;
/* should connect */
cinfo
.
should_fail
=
0
;
/* should connect */
rc
=
MQTTAsync_create
(
&
cinfo
.
c
,
"tcp://rubbish:1883"
,
"async ha connection test"
,
rc
=
MQTTAsync_create
(
&
cinfo
.
c
,
"tcp://rubbish:1883"
,
"async ha connection test"
,
...
...
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