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
e8588514
Commit
e8588514
authored
Mar 12, 2018
by
Juergen Kosel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify order of includes to fix travis build
Signed-off-by:
Juergen Kosel
<
juergen.kosel@softing.com
>
parent
fcfb5b43
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
Socket.h
src/Socket.h
+2
-1
test6.c
test/test6.c
+0
-7
No files found.
src/Socket.h
View file @
e8588514
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
#if !defined(SOCKET_H)
#if !defined(SOCKET_H)
#define SOCKET_H
#define SOCKET_H
#include "Thread.h"
/* Needed for mutex_type */
#include <sys/types.h>
#include <sys/types.h>
#if defined(WIN32) || defined(WIN64)
#if defined(WIN32) || defined(WIN64)
...
@@ -66,6 +65,8 @@
...
@@ -66,6 +65,8 @@
#define ULONG size_t
#define ULONG size_t
#endif
#endif
#include "Thread.h"
/* Needed for mutex_type */
/** socket operation completed successfully */
/** socket operation completed successfully */
#define TCPSOCKET_COMPLETE 0
#define TCPSOCKET_COMPLETE 0
#if !defined(SOCKET_ERROR)
#if !defined(SOCKET_ERROR)
...
...
test/test6.c
View file @
e8588514
...
@@ -1028,12 +1028,5 @@ exit:
...
@@ -1028,12 +1028,5 @@ exit:
destroy_exit:
destroy_exit:
MQTTAsync_destroy
(
&
control_client
);
MQTTAsync_destroy
(
&
control_client
);
#if !defined(_WINDOWS)
heap_info
*
mqtt_mem
=
0
;
mqtt_mem
=
Heap_get_info
();
MyLog
(
LOGA_INFO
,
"MQTT mem current %ld, max %ld"
,
mqtt_mem
->
current_size
,
mqtt_mem
->
max_size
);
/*if (mqtt_mem->current_size > 0) */
/*failures++*/
;
/* consider any not freed memory as failure */
#endif
return
0
;
return
0
;
}
}
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