Update handlers.c

This commit is contained in:
akp 2023-11-11 17:05:12 +00:00
parent f006ea0470
commit 181d75abd0

View file

@ -50,7 +50,7 @@ int handle_check_rule(char *data, size_t len) {
if (endptr == NULL) {
return HANDLER_ILLEGALARG;
} else if ((endptr - data) != len) {
// TODO: this gets triggered when the port has a trailing zero
// TODO: this gets triggered when the port has a trailing zero but is otherwise valid?
return HANDLER_ILLEGALARG;
}