]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect: function header return value clarification
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Tue, 9 Aug 2022 12:56:49 +0000 (08:56 -0400)
committerVictor Julien <vjulien@oisf.net>
Thu, 8 Sep 2022 11:27:51 +0000 (13:27 +0200)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
src/detect-target.c

index 878ed18c638d41839393dcd1340c4e334d1e1819..bd842427d85b47bd37e4f41c75914c424d0e1e43 100644 (file)
@@ -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)
 {