Fix 2 unittests

pull/598/head
Victor Julien 12 years ago
parent 8516000208
commit 2a4f821284

@ -820,8 +820,8 @@ static int DetectHttpCookieSigTest06(void) {
int r = AppLayerParse(NULL, &f, ALPROTO_HTTP, STREAM_TOSERVER, httpbuf1, httplen1);
if (r != 0) {
printf("toserver chunk 1 returned %" PRId32 ", expected 0: ", r);
goto end;
SCMutexUnlock(&f.m);
goto end;
}
SCMutexUnlock(&f.m);

@ -651,8 +651,8 @@ static int DetectHttpMethodSigTest03(void)
int r = AppLayerParse(NULL, &f, ALPROTO_HTTP, STREAM_TOSERVER, httpbuf1, httplen1);
if (r != 0) {
SCLogDebug("toserver chunk 1 returned %" PRId32 ", expected 0: ", r);
goto end;
SCMutexUnlock(&f.m);
goto end;
}
SCMutexUnlock(&f.m);

Loading…
Cancel
Save