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,11 +156,11 @@ int mosquitto_security_module_init(struct mosquitto_db *db)
if(rc){
log__printf(NULL, MOSQ_LOG_ERR,
"Error: Authentication plugin returned %d when initialising.", rc);
}
return rc;
}
}
}
}
return MOSQ_ERR_SUCCESS;
}