Initialise all plugins, not just the first.
This commit is contained in:
parent
e773ea1bee
commit
300034f868
@ -156,8 +156,8 @@ int mosquitto_security_module_init(struct mosquitto_db *db)
|
|||||||
if(rc){
|
if(rc){
|
||||||
log__printf(NULL, MOSQ_LOG_ERR,
|
log__printf(NULL, MOSQ_LOG_ERR,
|
||||||
"Error: Authentication plugin returned %d when initialising.", rc);
|
"Error: Authentication plugin returned %d when initialising.", rc);
|
||||||
|
return rc;
|
||||||
}
|
}
|
||||||
return rc;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user