#undef URL
}
+ int setup_ret = 0;
+
/* Validate double quoting, trimming trailing white space along the way. */
if (optvalue != NULL && strlen(optvalue) > 0) {
size_t ovlen = strlen(optvalue);
}
}
/* setup may or may not add a new SigMatch to the list */
- if (st->Setup(de_ctx, s, ptr) < 0) {
- SCLogDebug("\"%s\" failed to setup", st->name);
- goto error;
- }
+ setup_ret = st->Setup(de_ctx, s, ptr);
} else {
/* setup may or may not add a new SigMatch to the list */
- if (st->Setup(de_ctx, s, NULL) < 0) {
- SCLogDebug("\"%s\" failed to setup", st->name);
- goto error;
- }
+ setup_ret = st->Setup(de_ctx, s, NULL);
+ }
+ if (setup_ret < 0) {
+ SCLogDebug("\"%s\" failed to setup", st->name);
+ goto error;
}
s->init_data->negated = false;