More C90 fixes for travis.
This commit is contained in:
parent
1924afe49e
commit
571c643b3d
@ -8,11 +8,13 @@ static int run = -1;
|
||||
|
||||
void on_connect(struct mosquitto *mosq, void *obj, int rc, int flags, const mosquitto_property *properties)
|
||||
{
|
||||
int i;
|
||||
|
||||
if(rc){
|
||||
exit(1);
|
||||
}
|
||||
|
||||
for(int i=0; i<6; i++){
|
||||
for(i=0; i<6; i++){
|
||||
mosquitto_publish_v5(mosq, NULL, "topic", 5, "12345", 1, false, NULL);
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,13 @@ static int run = -1;
|
||||
|
||||
void on_connect(struct mosquitto *mosq, void *obj, int rc, int flags, const mosquitto_property *properties)
|
||||
{
|
||||
int i;
|
||||
|
||||
if(rc){
|
||||
exit(1);
|
||||
}
|
||||
|
||||
for(int i=0; i<5; i++){
|
||||
for(i=0; i<5; i++){
|
||||
mosquitto_publish_v5(mosq, NULL, "topic", 5, "12345", 2, false, NULL);
|
||||
}
|
||||
}
|
||||
|
@ -8,11 +8,13 @@ static int run = -1;
|
||||
|
||||
void on_connect(struct mosquitto *mosq, void *obj, int rc, int flags, const mosquitto_property *properties)
|
||||
{
|
||||
int i;
|
||||
|
||||
if(rc){
|
||||
exit(1);
|
||||
}
|
||||
|
||||
for(int i=0; i<5; i++){
|
||||
for(i=0; i<5; i++){
|
||||
mosquitto_publish_v5(mosq, NULL, "topic", 5, "12345", 2, false, NULL);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user