log: use SCLogError instead of fprintf

pull/4001/head
Philippe Antoine 6 years ago committed by Victor Julien
parent 19ab85f17e
commit 684f101710

@ -1078,7 +1078,7 @@ static int SigParseBasics(DetectEngineCtx *de_ctx,
/* Options. */ /* Options. */
if (index == NULL) { if (index == NULL) {
fprintf(stderr, "no rule options.\n"); SCLogError(SC_ERR_INVALID_RULE_ARGUMENT, "no rule options.");
goto error; goto error;
} }
while (isspace(*index) || *index == '(') { while (isspace(*index) || *index == '(') {

Loading…
Cancel
Save