Fix small potential bug in debug mode found by clang.

remotes/origin/master-1.0.x
Victor Julien 16 years ago
parent 8d66323f62
commit a8dd484aba

@ -1016,7 +1016,6 @@ static int DetectUriSigTest04(void) {
s->match != NULL)
{
printf("sig 3 failed to parse: ");
//DetectContentPrint((DetectContentData *) s->pmatch_tail->ctx);
goto end;
}

@ -123,7 +123,7 @@ void TmqhOutputPacketpool(ThreadVars *t, Packet *p)
} else {
/* root not ready yet, so get rid of the tunnel pkt only */
SCLogDebug("NOT p->root->tunnel_verdicted == 1 (%d) && TUNNEL_PKT_TPR(p) == 1 (%" PRIu32 ")", p->root->tunnel_verdicted, TUNNEL_PKT_TPR(p));
SCLogDebug("NOT p->root->tunnel_verdicted == 1 && TUNNEL_PKT_TPR(p) == 1 (%" PRIu32 ")", TUNNEL_PKT_TPR(p));
TUNNEL_DECR_PKT_TPR_NOLOCK(p);
/* fall through */

Loading…
Cancel
Save