Return MOSQ_ERR_NOT_SUPPORTED on unsupported plugin event.
This commit is contained in:
parent
b36247cb10
commit
3b99fbbe8c
@ -224,7 +224,7 @@ int mosquitto_callback_register(
|
||||
cb_base = &security_options->plugin_callbacks.tick;
|
||||
break;
|
||||
default:
|
||||
return MOSQ_ERR_INVAL;
|
||||
return MOSQ_ERR_NOT_SUPPORTED;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user