Initialise all plugins, not just the first.

This commit is contained in:
Roger A. Light 2015-07-02 10:26:57 +01:00
parent e773ea1bee
commit 300034f868

View File

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