mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-26 20:44:14 +08:00
Return MOSQ_ERR_NOT_SUPPORTED on unsupported plugin event.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user