Update handlers.c
This commit is contained in:
parent
f006ea0470
commit
181d75abd0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue