More C90 fixes for travis.

This commit is contained in:
Roger A. Light 2019-02-27 23:17:05 +00:00
parent 1924afe49e
commit 571c643b3d
3 changed files with 9 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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);
}
}