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
5571f9b1
Commit
5571f9b1
authored
Mar 28, 2017
by
Ian Craggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some small cleanup
parent
1f02409c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
18 deletions
+4
-18
test.py
test.py
+0
-10
test3.c
test/test3.c
+2
-3
test5.c
test/test5.c
+2
-5
No files found.
test.py
deleted
100644 → 0
View file @
1f02409c
from
__future__
import
print_function
print
(
"this is the test Python program"
)
import
socket
,
sys
,
select
,
traceback
,
datetime
,
os
import
SocketServer
as
socketserver
# Trace MQTT traffic
import
MQTTV3112
as
MQTTV3
\ No newline at end of file
test/test3.c
View file @
5571f9b1
...
...
@@ -30,9 +30,9 @@
#define snprintf _snprintf
#define setenv(a, b, c) _putenv_s(a, b)
#else
#include <sys/time.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <unistd.h>
#include <unistd.h>
#include <errno.h>
#endif
...
...
@@ -276,7 +276,6 @@ void MyLog(int LOGA_level, char* format, ...)
printf
(
"%s
\n
"
,
msg_buf
);
fflush
(
stdout
);
}
#endif
#if defined(WIN32) || defined(_WINDOWS)
...
...
test/test5.c
View file @
5571f9b1
...
...
@@ -162,10 +162,7 @@ void getopts(int argc, char** argv)
}
}
#if 0
#include <logaX.h> /* For general log messages */
#define MyLog logaLine
#else
#define LOGA_DEBUG 0
#define LOGA_INFO 1
#include <stdarg.h>
...
...
@@ -196,7 +193,7 @@ void MyLog(int LOGA_level, char* format, ...)
printf
(
"%s
\n
"
,
msg_buf
);
fflush
(
stdout
);
}
#endif
#if defined(WIN32) || defined(_WINDOWS)
#define mqsleep(A) Sleep(1000*A)
...
...
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