From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 9 Aug 2022 12:56:49 +0000 (-0400) Subject: detect: function header return value clarification X-Git-Tag: suricata-7.0.0-beta1~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c23560ec415059cbcf22d1c2fd6ecb4e99c6b6ea;p=thirdparty%2Fsuricata.git detect: function header return value clarification Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/src/detect-target.c b/src/detect-target.c index 878ed18c63..bd842427d8 100644 --- a/src/detect-target.c +++ b/src/detect-target.c @@ -76,8 +76,8 @@ void DetectTargetRegister(void) { * * \param targetstr Pointer to the user provided target options * - * \retval targetd pointer to DetectTargetData on success - * \retval NULL on failure + * \retval 0 on Success + * \retval -1 on Failure */ static int DetectTargetParse(Signature *s, const char *targetstr) {